Help: How to build a target config file?

Open source ARM Debugger

Moderator: phalanx

Post Reply
Newb
Posts: 3
Joined: Fri Nov 16, 2018 2:28 am

Help: How to build a target config file?

Post by Newb » Fri Nov 16, 2018 2:37 am

Hey there,

i´m new to OpenOCD and JTAG and I need to write a new config file for a target (MGM111 by Silabs).
I know that it uses an ARM Cortex M4.

But i totally need help in writing a target file.
Where can I find resources on how to write a config file for that target?
What do I have to look for in the data sheet (https://www.silabs.com/documents/public ... aSheet.pdf)?

Greetings,
Newb

Newb
Posts: 3
Joined: Fri Nov 16, 2018 2:28 am

Re: Help: How to build a target config file?

Post by Newb » Wed Nov 21, 2018 2:03 am

so I found out some stuff by myself, but I hope you can help me with some other things.

Here is what I got so far:
  • MGM111 is using a ARM Cortex M4F
  • It has 256 KB flash and 32 KB RAM memory
  • ARM uses little endian
  • It supports JTAG and SWD
  • I hope, that they did not change the default scan chain (0x4ba00477 or rather 0x2ba01477)

What I still need is the following:
  • What is the instruction register length?
  • Where does the physical work area start? At 0x10000000 or at 0x20000000?
memory_mapping.png
  • What is F_CPU after reset?
  • What does "reset_config srst_nogate" mean? Does it apply here?
  • How does the following behaviour affect the config?
jtag_pins.png
Any help is appreciated!

Newb
Posts: 3
Joined: Fri Nov 16, 2018 2:28 am

Re: Help: How to build a target config file?

Post by Newb » Mon Nov 26, 2018 1:28 am

This forum is dead.. got my information from the mailing list.

Post Reply