Stellaris® ARM® Microcontrollers
Forum
Options
Subscribe via RSS
Helpful Stellaris® LM4F Series Links
LM4F Series
Stellaris PinMux Utility
Stellaris® LM4F120 LaunchPad
LM4F MCU Applications
LM4F MCU Video
ARM Cortex-M4F Whitepaper
Stellaris MCU Brochure
LM4F232 Eval Kit
Flash erase/reload
Flash erase/reload
Posted by
uhler
on
Apr 13 2006 13:19 PM
Prodigy
10
points
I made some a change to Startup.s to add an SEV at Reset_Handler, as in:
; Reset Handler
EXPORT Reset_Handler
Reset_Handler
; Enter the C code
SEV ; This is what I added
IMPORT __main
LDR R0, =__main
BX R0
ALIGN
(It seemed like a good idea at the time).
After compiling and downloading to the board and running it, I can no longer debug or download new programs, getting messages like:
"Cannot enter Debug Mode" and
"Cannot access Memory"
How can I clean things out to get the board to talk with me again.
Thanks in advance for the help.
Report Abuse
Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
Posted by
TI - Eric Hewing
on
Apr 13 2006 15:11 PM
Expert
4160
points
I just ran an experiment where I modified the startup.c file in the way you described, but haven't had any trouble re-attaching to the device after running the code.
If I had to guess, I would say that the problem is in the code after the reset handler, and not the SEV. I suggest sending us more information via the web support form or by emailing us at support@luminarymicro.com. If you can, please include your project so we can inspect the code and find the root cause.
Report Abuse
Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.