cancel
Showing results for 
Search instead for 
Did you mean: 

SR5E1E7 -> SR5E1E5 JLINK problem

pavelrydl
Associate

Hello,

I have a problem with a SR5E1E5 chip. I Used SR5E1E7 eval board 7000p and I am on a custom board with SR5E1E5.

JLink connection is via SWD interface.

 

Programming, reading problem is without any problem. Debugging and running program is not working.

Received monitor command: speed auto
Select auto target interface speed (2000 kHz)
Received monitor command: flash breakpoints 1
Flash breakpoints enabled
Received monitor command: semihosting enable
Semi-hosting enabled (Handle on breakpoint instruction hit)
Received monitor command: semihosting IOClient 1
Semihosting I/O set to TELNET Client
Received monitor command: SWO DisableTarget 0xFFFFFFFF
SWO disabled successfully.
Received monitor command: SWO EnableTarget 0 0 0x1 0
SWO enabled successfully.
Downloading 1052 bytes @ address 0x24000000 - Verified OK
Downloading 10608 bytes @ address 0x24000420 - Verified OK
Downloading 8 bytes @ address 0x24002D90 - Verified OK
Downloading 28 bytes @ address 0x24002DA0 - Verified OK
Downloading 4 bytes @ address 0x24002DBC - Verified OK
Writing register 'pc' = 0x24000400
Read 4 bytes @ address 0x24000400 (Data = 0xF000BE00)
Read 2 bytes @ address 0x24000400 (Data = 0xBE00)
Reading 64 bytes @ address 0x24000700
Read 2 bytes @ address 0x24000732 (Data = 0xF002)
Received monitor command: clrbp
Received monitor command: reset
Resetting target
Received monitor command: halt
Halting target CPU...
...Target halted (PC = 0x1FF00150)

 

This is RAM example, same with NVM memory. Program halt at 0x1FF00150, which is a internal Boot ROM.
I have no idea where to look, what to check. It never jumps to main() method.

Any ideas? Thank you

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
pavelrydl
Associate

Problem solved by unchecking an option called "Pre-run/Restart reset" on the tab "Startup". It does some second reset and halt.

I am curious why SR5E1E7 behave differently than SR5E1E5. Any thoughts? 

Thanks

 

View solution in original post

1 REPLY 1
pavelrydl
Associate

Problem solved by unchecking an option called "Pre-run/Restart reset" on the tab "Startup". It does some second reset and halt.

I am curious why SR5E1E7 behave differently than SR5E1E5. Any thoughts? 

Thanks