This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil J-tag Automatically Generated ini Syntax Error

Hello kind forum user,

I am trying to debug an ADUCM355 over a J-link using serial wire debug in Keil. The following is produced in the console.

Is the debugging failing due to the syntax error in the JLinkSettings.ini file? This file was generated by the IDE. Any work arounds for this?

Parents Reply Children
  • I can't tell you why this "error 65: access violation at 0xFFFFFFF4" comes from. Did you locate any const data of your application to this address?

    However, I see some strange settings in your screen captures:

    • You wrote that you use a ADUCM355. This device usually has a 128K Flash. Why did you select the Flash algorithm for a ADUCM356 with twice the size (256K)?
    • You must have corrected the Address Range of the Flash algorithm. It states a size of 256, but the address range is set to 0x00000000 - 0x0001FFFF (which is 128K)
    • You selected 'Do not Erase' in your first dialog. You usually need to erase a Flash before you re-program it.

    Unfortunately, I don't have such a board to make some tests.

  • It sounds like you are using this board
    www.keil.arm.com/.../

    There are CMSIS-PACK examples for the ADUCCM355 Series. I would test one of those examples and see if it works better for you.

    Open the Pack installer, C:\Keil_v5\uv4\PackInstaller.exe

    - On the top left of the window, for "Search", type "ADUCCM355" - the list below gets filtered.
    - Select the device (entry with a green icon) from the list below – on the right side of the dialog updates with Software Packs relevant to this device.
    - For the "Packs" tab, install the AnalogDevices:ADUCCM355_DFP pack (if necessary).
    - On the top right of the screen, select the yellow "Examples" tab.
    - On the "M355_Flash(Eval-ADuCM355QSPZ)" row, click the "copy" button - a dialog pops up.
    - Pick a directory, click both the check boxes, and press OK - a new Keil µVision session opens with the example.
    - Build the project, Connect a USB cable to the board and start the debugger.


    ======

    This article might help with J-Link script files
    developer.arm.com/.../
    If so, this may be useful:
    wiki.segger.com/Analog_ADuCM355

    Finally, on the Project -> Options For Target ->Debug tab, make sure the radio button "Use Simulator" is NOT selected.