2003-04-24 03:01 AM
2003-04-21 11:45 PM
Hello!
I'm using ST72F62x devices. I'm trying to execute small program in RAM. After uploading code (via ICC), modyfying PC in stack the program runs only if it begins from address 0x40. If I set higher address the program doesnt start properly. The same problem occurs when the code is loaded from 0x40 and its size is larger than 64 bytes: when code is located from 0x40 to 0x7F code works fine, but if I shift it by some bytes: eg from 0x50 to 0x8F, it doesnt work. Michal2003-04-22 01:25 AM
Hello,
I assume what you are doing is : 1)Write your code into RAM 2)Modify stack portion storing PC 3)Executing ''Go'' command In this case, when the Go command is executed, the memory locations 80 and 81 are written into, corrupting your program. So, it is not surprising that the code is no longer running. Hope this helps....2003-04-24 03:01 AM
Thank you!
Simple solution for big problem. Now I know how important is accurate study of documentation...2003-04-24 03:01 AM
Thank you!
Simple solution for big problem. Now I know how important is accurate study of documentation...