| ??? 11/19/02 11:49 Read: times |
#32737 - 8052 + 28c64 again |
Dear All Experts,
I really got doubt when used 28c64 for program storage. I had tried to use the command of "prog" under the language of Basic-52. The system told me "Error in programming". Before I tried "prog", I had cleared all the data inside the 28c64 said $FF. After this, I read back the 28c64, the first byte had been changed and written to one value. The reasons may due to wrong wiring or not having pretty delay for writing the data into 28c64. But recently, I tried Bascom-51 (forgot the name) to build up the bin or hex files and burnt them into 28c64 using my programmer. Then, I wrote a simple program to read back the data: 10 for i = 1 to 100 20 print cby ( 8000h + i ) 30 next i 40 end After I ran it, it showed me the exact values that what I wrote using my programmer before expect the first byte. I just knew that the first byte had been changed under my 8052 micro-controller. In addition, when I ran it under run-time mode (ran the program inside 28c64 immediately), it halted and didn't do what I wanted. Actually, I tried to run my program for motor control successfully using command line mode. But when I used run-time mode with Bascom-51 improved syntax and statement, i.e. command line mode : xby (Basic-52) run-time mode : out (Bascom-51) I can't do what i wanted. Can anyone tell me how to solve it? |



