2004-06-22 06:22 AM
2011-05-17 03:01 AM
I've solved the problem by including _psen in the equation for psel0
2011-05-17 03:01 AM
Sorry! the previous message has been posted by mistake. I actually got a problem with reading Main Flash. At 0xFFFB I store a number to indicate a valid firmware copy, and boot program read from there during power-up. I've found it's not doing very well in this way. Sometimes, in a chance of 1/4-1/5, my program doesn't get right value. It must be something wrong. Does any body here konw why?
2011-05-17 03:01 AM
The 32xx devices have DDC memory mapped in XDATA space from 0xFF00 to 0xFFFF. If you haven't disabled the DDC RAM, it may be the cause for the problem.
Put the following in your startup file: MOV A, #0 ;Disable DDC and DDC XRAM out of addr space MOV DDCCON, A