Search Results

Search results 1-16 of 16.

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

  • Hello kkb-tec, it sounds a bit like your project has a very low JTAG speed selected, such as 5KHz. Can you verify either in project settings or during operation in the control panel? Programming speed should be much higher.

  • Cool, it is working! And it is blazing fast. Both IAR and emIDE... Actually I am surprised that free stuff seems actually usable. Cheers, Mike @Alex: You are the Best!

  • I have external NOR Flash, CFI compliant connected to my STM32f407vgt6. It seems I can not download into the external flash. Is there any trick to it? What do I need to do to get it up and running? I am using IAR EWARM, but I would like to also use it with a GDB tool chain such as emBlocks, to which I would like to switch.

  • Hello Segger, I have an application using IAR EWARM and SEGGER embOS. I am very satisfied with embOS, but I feel I would like to get away from IAR and would prefer GCC. It seems J-Link is working very well with it, and samples for Yagarto (Eclipse) or emIDE work well too. Also efficiency of GCC seems to be pretty close nowadays. Do you guys offer some help, such as porting my embOS based application to one of these GCC based tool chains? Consulting work (paying for this) is no problem.

  • Bernhard, sounds like an Eclipse problem. In order to understand what is going on, can you - Look at the log window of the J-Link Status & Control panel when you hover over the variable? You should see a memory read of typically 4 bytes at the address of the variable. - Open a memory window and look at the variable in the memory window?

  • Hi Chris, 2 points: - It is not clear which program are you using that is outputting the text you show - None of the JTAG IDs shown in the output of J-Link commander seem to match the JTAG ID of the AT91SAM7SE512. It should be 3F0F0F0F. What is the output of J-Link commander if you have just one device in the chain and which program do you want to use (IAR, J-Flash, ...) ?

  • j-flash program slowly

    MikeQ - - J-Link/Flasher related

    Post

    Am I correct to assume you are trying to program the flash of cell phones ? If you are, please make sure what you are trying to do is legal. On the technical side, things are always similar: You should understand the target system: Take a look at the schematic and the documentation of your CPU / SOC. Make sure the CPU runs at a decent speed (at least a few MHz, not just 32kHz) If necessary, enable & select a PLL as clock source. Locate RAM (Ideally on-chip RAM, even if it is just a 4KB) in the c…

  • Hi Markus, you can not run both servers on the same machine if they both connect to the same J-Link. All you need here is the GDBServer. GDB can connect to to the gdbserver on localhost, default port is 2331. --Mike

  • unable to halt ARM core

    MikeQ - - J-Link/Flasher related

    Post

    Obviously J-Link can "talk" to your chip. The problem is that it can not halt the chip for some reason. Most likely cause is that the target CPU has no clock or that it is performing a memory access which halts the CPU indefinetly. Can you a) Check if the CPU has a clock b) Check if there is a "WAit" Signal which may be active If this does not help, try "rx 0" from J-Link Commander as follows: SEGGER J-Link Commander V3.78a ('?' for help) Compiled Dec 4 2007 22:18:44 DLL version V3.78a, compiled…

  • Hello Devlin, you can use the JTAG API functions such as JLINKARM_JTAG_StoreData() JLINKARM_JTAG_StoreInst() and JLINKARM_JTAG_StoreRaw() etc. If you have the SDK you should have everything you need. --Mike

  • Hi Brad, there should be a way to properly reset the CPU. The first thing you need to do is set the speed to either adaptive or 5kHz since the CPU starts at 32kHz; after that, a Reset with Zero delay should work. We had a similar problem on a SAM7S and something like monitor speed 5 // Slow speed so we can work with 32KHz monitor reset 0 0 // Halt CPU with 0 delay monitor MemU32 0xfffffd00 = a5000004 // Reset peripherals ... Note that a5000005 may also work (resets also CPU, MMU, caches) ... // …

  • J-Link and Linux gdbserver

    MikeQ - - J-Link/Flasher related

    Post

    Hello Yumbrad, just for my understanding: When you develop on a Linux host, can't you connect to the GDB Server running on an other (Windows) machine (via TCP/IP) and would not that be a solution ? Or running the GDB Server in a virtual Windows machine on the same physical machine ? Or is the problem simply that you do not want to use Windows at all ? Thanks, Mike

  • Hello, embOS V3.32e is not the latest version, but there is no known problem with this version. Most likely a part of the stack is overwritten for some reason; maybe by an other task. This is how you can find out: - Start the program - Wait until the free stack space is reported to be low - stop the CPU - look at the memory You should see that the the stack memory has been overwritten. If this is repeatable, use a debugger (J-Link ?) to set a watchpoint on modification of this memory addr. Repea…

  • Perfect, that answers it. I can now select between virtual and physical memory by swithing the MMU on/off. Mike

  • Tobias, what exactly do I need to do ? Can you give me an example ? Thanks ! Mike

  • Hi, I am using gdb with J-Link (actually SAM-ICE) with the GDBServer. When debugging, I would like to switch the MMU on/off. Is there any way to do this ? I am using ATMEL AT91SAM9261. Thanks, Mike