Search Results

Search results 1-7 of 7.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • If by CFI init you mean the initialization done in Jlinkscript for the memory addresses, then I know it works because gdb can use it to look at memories and jflash can use it to flash the memories. Is there a gdbserver log somewhere to give some indication of what the problem is? If the server does a reset then the memory map changes and accessing the nor flash will be at different processor addresses (an at91xxx quirk). I have no way to know what the server does and assumes when it is doing the…

  • I do start gdb with a jlink script. Maybe I am doing something wrong. I start the server with JLinkGDBServerCLExe -device AT91M40800 -scriptfile /opt/SEGGER/JLink/Devices/ATMEL/AT91M40800.JLinkScript Remember this is on Ubuntu and gdb generally works, just LOAD does not work on my flash setup. Here is my jlinkscript. Note lots of lines commented out. Source Code (99 lines)

  • Hi, I had a confusing failure. I am using Linux based command line jlink server for a at91m4800 arm7tdmi soc. Here is what the server says when staring up: Source Code (26 lines) And then I use command line gdb: Source Code (2 lines) The debugger works ok, but cannot flash the second 8k page in the nor flash. I use 2 bootstrap 8k sectors and then the main program starts at the first 64K segment. The failure is gdb cannot erase the page. If I use the windows jlink tool I can erase the device and …

  • Hi Nino, thank you your reply really helps. I also discovered the command line options section of your manual. It also illuminated one thing I found very confusing. There are 2 scripting languages, one you call a commanderscript file which is what I type in the terminal stored in a file. The other script is JLinkscriptfile which is sort of C like. If I edit JLinkDevices.xml to indicate my device as you suggested, will all the JLink* and JFlash* programs use it as a init script? That is will JFla…

  • Hi, I am trying to see if I can use a jlink on linux to program my prototype. I did the .deb install - could not figure out how to start until I grepped and found out the exact spelling of the name is JLink.... depending on what I am starting. Ok, but how do I give a script file to run on startup? I cannot find a description of command line args (reading UM08001) Is the gui stuff restricted to running on windows? It appears there is no "linux control panel"? How do I configure a new entry for my…

  • Hi, when I configure jflash project, on the mcu page, there is a text box for a jlink script. When I put the script I developed with jlink commander, it doesn't seem to use it. When I go through the same steps in your painful gui init steps, ie writing to the same registers to enable the flash and configure the mcu addressing, the flasher does work. Why doesn't the jlink script work? Thanks, Steven

  • Hi, I am using a jlink plus to bring up a new board. I need to do some unlocking for the at49bv320d flash chip - which I need to do in a script. I have written a script which works, I have it in a script file and put it in the script file in the control panel gui. Great. The next time I start jlink commander it no longer has the script file in the control panel - how do I make the script permanent so it is always there on start up? Thanks, Steven