2003-09-22 03:56 AM
2003-09-17 01:43 AM
Hello All
I am using cosmic compiler for my ST7FLite29 device. Everything is working fine with memory model modc (Memory compact). But when I change to any other memory model, I get the error ''Write protected access at 0x000a''. On further analysis we found that the startup routine tries to write to this location so we get this error in emulator. This is a readonly location so code should not write to this location. Has anybody faced the same problem?? Any workaround possible for this situation?? Thanks in advance, PraveenG2003-09-17 02:30 PM
The error is that the connect is not tightness between the board and emulator.
2003-09-21 08:14 PM
Thanks for the reply. The emulator connections are perfect. As I mentioned everything works fine with modc memory model. And the problem mentioned is that The emulator is trying to write a read only location when debugging this code belongs to startup routine.
If anyone can help regards, praveenG2003-09-22 03:56 AM
assume you use the crtsi (C-runtime startup initialized) what uses the _idesc_ descriptor to initialize data. Did you try ctrs.o or do you really require initialized data? If yes, you should check your link file (*.lkf) - how is the content?