I use the demo form STR71x_IAR_Library. My question is. I complied the uart_poll demo in RAM mode,and it work ok.which can Tx and Rx. But when I complied the uart_int demo in RAM mode,and it doesn't work! Maybe interrupt not triggered. It's need to change the 71x_vect.s or 71x_it.c Sorry for my English.
so I think this maybe remapping problem. I have uncomment the list lines in file 71x_init.s ; define remapping ; If you need to remap memory before entring the main program ; uncomment next ligne #define remapping ; Then define which memory to remap to address 0x00000000 ; Uncomment next line if you want to remap RAM #define remap_ram ; Uncomment next line if you want to remap FLASH ; #define remap_flash Could u tell me why and How to correct it Thanks!
I am from Venezuela so forgive my bad writing. I have a similar problem when trying to simulate the IRQ interrupts. When debbugging and trigger an IRQ, it jumps to address 0x18 but it didn't link to the 71x_vect.s so it nevers Handle the interrupt. Could you please help me with these??? Another thing, when you uncomment those lines... does the example Run correctly??? Thank you for any help
You were rigth about the interrupt vectors. The weren't mapped at address 0x000000. I look the STR71x library that you have in your site and I try to examine it and find the differences between the the ST original files (71x_vect.s and 71x_init.s) and the same files but those who came with the IAR tool. I find that on the IAR 71x_vect; they have a ?RESET module at the beggining... If I remove it(about 4 or 5 lines), the vectors magically appears and when I run the example, it apparently jump to the IRQ Handler. BUT, the problem is not solved yet. The program begging to jump to the EIC routines but, it never jump to the 71x_it file (where the IRQ Handlers code really are); instead, th PC start to increase until it reaches the END of the ROM and it restart again. What should I do now? I really need some HELP.