Search Results
Search results 1-8 of 8.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Hi I has found way to add new registers into registers watch window: I created new xml file ( I have different MCU) XML Source Code (17 lines) I added this file in Project Options->Debug->Debuger->Register Definiton File Now i can see this registers during debuging... but without values, and I don't known why - in memory wath i can see this registers values (as memory part) Is any manual to work with this file?
-
Hi. I'm using SES in 3.22 Version, simulated cpu is STM32F427ZG - Cortex M4F. What happen: cpu is in Handler mode - SYSTICK occured and is handled. Register values: ICSR = 0x0000000F PSP = 0x20000328 MSP = 0x2002FBFC CONTROL[1] =SP_main *0x2002FBFC = 0xFFFFFFFD next instruction is : pop.w {pc} This is return to thread mode so I expect that after execute this instruction registers value should be: ICSR = 0x00000000 PSP = 0x20000328 MSP = 0x2002FC00 CONTROL[1] =SP_process but i have: ICSR = 0x0000…
-
Hi. I think that I has found solution for my problem. AT91SAM7S has inactive reset pin for default, so is impossible to trigger user reset. To trigger software reset CPU must be halted - it is triggered by writing data into register. In conclusion only power on reset can reset CPU. I added enabling user reset (reset pin) after power on reset and now all works fine. My configuration Source Code (8 lines) In first line user reset is enabled, next lines trigger disable watchdog, change flash states…
-
Hi I has checked my target and it works, i found way to successfully write flash, and run program but only in J-Link commander - to write flash I must change target clock to higher - as on init sequence in J-Flash. I tried to add this sequence in Connect Script using TargetInterface.pokeUint32(address, data) and TargetInterface.delay(ms), but problem is earlier - write into memory fails due to unable to halt CPU. In J-Link commander i see that in this case only power sequence (power off, power o…
-
Hi Thank you for reply. I tried to run additional scripts on connection but it also fails. Now I think that my problem is not with Embedded studio but with my board or target - so firstly I must investigate it or try another one. br/ Ryszard
-
Hi I'm trying to write flash in AT91SAM7S256 target using J-link and Embedded Studio. When i has used default configuration I have result as bellow - it always fails for different reasons. I tested device using testwspeed command in J-Link Commander and i can write succesfully data into SRAM space but not into flash. But when I configured target using "w4" command (disable watchdog and change MCK to 10MHz from PLL), Flash has been also succesfully written. I also tried to connect with target usi…