2005-06-21 06:10 AM
2005-06-17 10:22 PM
Hello !
I write program for this chip using Keil compiler. At this moment it's size is exceed 32767 bytes, and my program crashes. I'm trying to find the reason and there is some questions about it: 1. Should I change ROMS1 value to 1 (at now it is =0) ? I'm trying to do it in startup file, but nothing changes. Maybe it is should be done by some particular method? 2. If I change ROMS1 bit, should I also change the memory model in Keil? At now I'm using small model. 3. Should I change some compiler/linker settings? 4. For code downloading I'm using ST10 Flasher ver 2.3C. Is it possible, that this tool make wrong memory allocation while code downloading? There is checkbox ''ROMS1'' in this program, but nothing changes, when I'm try to modify it 5. The datasheet for F269 is not clear about this feature. Is there some additional info or appnote available? Thanks in advance, Shemet Andrey2005-06-21 06:10 AM
Thank you for your reply !
The problem is solved: I simply changed linker settings and that's all. I don't use external ROM, so, as I understand, bit ROMS1 is primarily intended for switching between ext/int memory. In the datasheet this issue is not clear, at least for me. Best regards, Andrey