2003-10-02 06:00 AM
2011-05-17 02:55 AM
I just startet to work with the DK3200 Development
System. I loaded the ADC-sample application (AN1560) onto the system which works fine. But when I changed the flash memories in the PSDsoft Express tool (Program code now in main flash - fs0 - address 0x000 - 0x7fff) nothing worked. I updated to the newest PSDsoft Express with the same results. Is there a problem to use the main flash as code memory? Have you ever testet your ADC-sample code in the main flash? Kind regards,2011-05-17 02:55 AM
Of course, the DK3200 works with the main flash FSx, but the transition from secondary flash is not so easy. With Psdsoft:
1 - at the first menu (Define PSD and MCU...) set: Main PSD flash = program space only Secondary PSD flash = data space only 2 - at the next menu (Define PSD pin/node...) make sure that the page register is properly selegted. Assign to all main flash FSx addresses from 0 to 7FFF. Set the csbootx secondary flashes to addresses above 8000. The CSIOP should be above 8000, or at the end of the main flash (typically 7f00-7fff). 3 - at the merge menu, make sure to load your program into the proper flash (FS0?). good luck, asterix2011-05-17 02:55 AM
Actually you only needed to do step 1 suggested below, and part of step 2 which is to move Fs0 to 0-0x7FFF since the ISR vector table along with MCU's SFRs reside in memory space 0-0xff. You do not need to move CSIOP,RS0 or CSBOOTx since they are all in the DATA space, where as FSx are in PROGRAM space. Please see the attached PSDsoft project files.