Search Results

Search results 1-20 of 20.

  • Hello, thank You for clarification. Quote: “ Here comes the problem. ” Wrong word due to the my mother tongue :). Should be "Here comes the situation...

  • Hello, I would like to verify my thoughts about the Unlimited Flash Breakpoints functionality and Cortex-m3. As far as I know the UFB replaces the instructions in code memory by a some kind of BPKT instruction in case all hw breakpoints are consumed. The replaced instruction is then somehow "emulated", e.g. mov r1, r0 the jlink moves content of r0 to r1 using the debug read/write register sequence. Here comes the problem. If the internal flash of MCU is modified and the jlink is disconnected dur…

  • Quote from SEGGER - Alex: “ If you can explain for what you need it, I can bring it up for discussion.” Thank You Alex. Why I had such question: I am programming a custom flash update function, the firmware is loaded into the MCU's internal flash (currently the LPC1788) and is taken from external SPI or Nor Flash. I have tried to write a simple app to test a communicatation with the SPI, Nor Flash and the IAP (NXP LPC In-Application Programming) functionality. The test app performed MCU reset af…

  • Hi, thank You for answer I was not aware of the r[0|1] command. Executing this command, the Jlink set reset pin. However after JLinkExe application quit, the JLink device released the reset and the application loaded in MCU started to execute. I would prefer some kind of non-volatile flag in the JLink device which would tell the JLink to keep the target in reset in case of no app (or using Segger dll) is communicating with it. Or rather keep it in reset if there is no communication over USB (in …

  • Hello, is it possible to configure the JLink device to reset target MCU and keep in reset state if there is not running any application (e.g. JLinkExe, JLinkGDBServer, etc.) using the JLink device? Martin

  • Hi,Quote from SEGGER - Alex: “Moreover, it is not designed for production purposes (as it sounds this is what you are trying to do). ” What does it exactly mean "designed"? Do you mean the user interface (e.g. flash button, nice GUI, stand-alone device) or some changes to the loading binary for the developing purpose, changes to the flash behind the application, etc? Best Martin

  • Hello, I have catched a crash of the JLinkGDBServer. Started with "JLinkGDBServer -device lpc1788 -vd -if SWD", "uname -a" - 3.8.0-33-generic #48~precise1-Ubuntu SMP Thu Oct 24 16:28:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux "/etc/issue" - Ubuntu 12.04.3 LTS \n \l JLinkARM.dll V4.78j (DLL compiled Nov 22 2013 20:10:51), from the 64-bit package uC - LPC1788 I have opened a second debug session accidentally to en existing previous one. Best Martin C Source Code (45 lines)

  • Hi Alex, thank You very much for the clarification, I appreciate it. Martin

  • Hello, for everyone who is interested in using NXP's chips and this press release segger.com/cms/admin/uploads/u…11_SEGGER_NXP_FlashBP.pdf , this feature has been disabled with the newest firmware. Not stated here segger.com/j-link-release-notes.html, be aware that you cannot use it free of charge. (free of charge != evaluation mode) From my side, confirmed for LPC2478 and LPC1788. Best Martin To SEGGER: Would be nice to issue a new PR or specify which cores are enabled.

  • Hi, it happens sometimes (the seg fault), I cannot say exactly what steps are done. I can only post my configuration: uname -a : Linux ubuntu 3.2.0-54-generic-pae #82-Ubuntu SMP Tue Sep 10 20:29:22 UTC 2013 i686 i686 i386 GNU/Linux /etc/issue:Ubuntu 12.04.3 LTS \n \l arm-none-eabi-gdb -v: GNU gdb (Sourcery CodeBench 2013.05-53) 7.4.50.20120716-cvs Eclipse: Version: Juno Service Release 2, Build id: 20130225-0426 Zylin Embedded CDT 4.18.1 Best Martin

  • Hello, could be possible to bind sockets with SO_REUSEADDR? Sometimes the Jlink GDBServer quits with Seg fault and I have to wait until the TIME_WAIT expires. (I do not want to restart my network...). ref: serverfault.com/questions/3298…ose-a-socket-in-time-wait Reading 64 bytes @ address 0x1000A3C0 Reading 64 bytes @ address 0x1000A380 Read 2 bytes @ address 0x0000432E (Data = 0x48AC) Read 2 bytes @ address 0x00004330 (Data = 0xF003) Read 2 bytes @ address 0x00004C94 (Data = 0xF04F) GDB closed …

  • Hi, facing the same problem with the newest jlink 32-bit deb package for linux SEGGER J-Link Commander V4.78a ('?' for help) Compiled Oct 8 2013 13:36:53 DLL version V4.78a, compiled Oct 8 2013 13:36:49 Firmware: J-Link ARM V8 compiled Sep 20 2013 15:09:45 Hardware: V8.00 hw:Jlink segger.com/jlink_base.html Even there is stated that the Unlimited Flash Breakpoints is not supported, I am using it with the NXP LPC1788. The device was sold to me with an assurance that the feature is always availaib…

  • Quote from cmason: “Any ideas? ” Try to enable log: e.g. I usually use this command "./JLinkGDBServer -device LPC1778 -vd -log jlinkgdbserver.log" and then I try to inspect what is going wrong. Or you can attach the log to your post.. Martin

  • Hello, is it possible to get running DWT counters on SWO with the linux version of JlinkGDBserver v4.7.4? Let me explain it. By starting the JlinkGDBserver I should be able to read raw SWO data on port 2332. To enable SWO receive in JLink device, I should emit the command SWO EnableTarget x x x x. Probably it configures the JLink device to receive SWO data, ITM, DWT (as shown in the JLink manual (Example code for enabling SWO out of the target application). This configuration can overrides my se…

  • Hi, ok that's fine. Is it (the Linux version) a feature or a bug? I would like to switch back to the Linux version and not to have a separate PC with MS just only for debugging. Martin

  • The Windows version 4.76a works correctly, T1464 171:807 JLINK_ReadMem (0x20084000, 0x0004 Bytes, ...) -- CPU_ReadMem(4 bytes @ 0x20084000) -- Data: 02 00 00 00 returns 0x00 (0003ms, 1967ms total) Martin

  • Hello, I am facing a problem on NXP LPC1788 with reading content of the EMAC registers. Any attempt to read the content fails with WARNING: Failed to read cacheable memory @ address ADDRESS(e.g.0x20084000, EMAC1). My configuration: LPC1788, Ubuntu 12.04, JLinkGDBServer v 4.74 command line "-device LPC1788 -vd -log status.log", Eclipse Juno CDT C/C++, OpenJDK, J-Link Firmware: J-Link ARM V8 compiled Jul 17 2013 11:24:15, Hardware: V8.00 My observations: Reading by using JLinkExe, mem32 0x20084000…

  • Do you plan to support overriding(overloading) some set of GDB q packets? Here is a use case what I mean. GDB hardware debugging server from eclipse sends a packet with qfThreadInfo to get list of threads. There is running a FreeRTOS on the target hardware. The Jlink GDB passes this query to a user script which returns result back to eclipse GDB to show a thread list. The details of passing and script language are irrelevant, it is just an idea how it could work. Best Martin

  • Hello, I have a question about flash download to NXP lpc1857 via Jlink GDB Server. I do not have this microcontroller in my hand, so more or less this is a preliminary question... The micro has got two flash banks, A and B, in a non-continuous memory address space, A starts at 0x1A000000, size 512KB B starts at 0x1B000000, size 512KB There is implemented a shadow memory area starting at 0x00000000 which can be, via a special register, mapped to e.g. beginning of the flash bank A. Thus it is poss…

  • Hello, I would like to add my experience with programming an external Spansion NOR Flash on NXP LPC2478. Be carefull during writting parameters to the GDB Server. I made a mistake the flash was 16MB and I set a lower address range -> 8MB (monitor flash CFI = 0x80000000-0x80FFFFFF). (Un)fortunately JLink software reads CFI info to perform write/erase timing and number of sectors etc. This led to a confusion of the JLink (GDBServer assumed 8MB, CFI 16MB) with a result: ERROR: Programming failed @ …