[<<][simtrace][>>][..]
Tue Jul 9 18:43:38 EDT 2013

Differnces between S64 and S256

Maybe the Flash addresses are not the same?

objdump -h main_simtrace.elf 
  .text = 00104000

  main  = 0x00107fe4


It just loads at the wrong place?

segger:
Downloading 4064 bytes @ address 0x00000000
Downloading 4064 bytes @ address 0x00000FE0
Downloading 4048 bytes @ address 0x00001FC0
Downloading 4064 bytes @ address 0x00002F90
Downloading 4048 bytes @ address 0x00003F70
Downloading 4064 bytes @ address 0x00004F40
Downloading 4048 bytes @ address 0x00005F20
Downloading 4064 bytes @ address 0x00006EF0
Downloading 3056 bytes @ address 0x00007ED0
Downloading 1228 bytes @ address 0x00008AC0


gdb:
Loading section .text, size 0x8ac0 lma 0x0


LMA is not set correctly.  Use this:

load main_simtrace.elf 0x4000



Ok, next problem is probably the watchdog.  It runs up to main() and
somewhere to led_init() but after that keeps resetting.  Still no
debug output.

Stack is not setup properly:
$11 = (void *) 0xffffffc8


Looks like app expects this to be done earlier.

Ok, I see, the bootloader got overwritten.

Jul  9 19:39:13 zoo kernel: [3616293.616961] usb 3-2.4.2: new full-speed USB device number 21 using ehci_hcd
Jul  9 19:39:13 zoo kernel: [3616293.728360] usb 3-2.4.2: New USB device found, idVendor=16c0, idProduct=0762
Jul  9 19:39:13 zoo kernel: [3616293.728371] usb 3-2.4.2: New USB device strings: Mfr=4, Product=5, SerialNumber=0
Jul  9 19:39:13 zoo kernel: [3616293.728381] usb 3-2.4.2: Product: SimTrace SIM Sniffer - Runtime Mode
Jul  9 19:39:13 zoo kernel: [3616293.728388] usb 3-2.4.2: Manufacturer: sysmocom - systems for mobile communications GmbH






[Reply][About]
[<<][simtrace][>>][..]