Coder Social home page Coder Social logo

Comments (2)

itewqq avatar itewqq commented on September 24, 2024

The read_flash command also did not work properly:

[itemqq@itemqq-arch DA14585]$ sudo ezFlashCLI read_flash 0 0x10
INFO:root:ezFlashCLI v1.0.6
INFO:root:By using the program you accept the SEGGER J-link™ license
INFO:root:00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

Jlink's works normally:

[itemqq@itemqq-arch DA14585]$ sudo JLinkExe 
SEGGER J-Link Commander V7.80b (Compiled Sep 20 2022 17:10:17)
DLL version V7.80b, compiled Sep 20 2022 17:09:54

Connecting to J-Link via USB...O.K.
Firmware: J-Link OB-SAM3U128 V3 compiled Feb  2 2021 16:48:08
Hardware version: V3.00
J-Link uptime (since boot): N/A (Not supported by this model)
S/N: 483057451
VTref=3.300V


Type "connect" to establish a target connection, '?' for help
J-Link>connect
Please specify device / core. <Default>: DA14585
Type '?' for selection dialog
Device>
Please specify target interface:
  J) JTAG (Default)
  S) SWD
  T) cJTAG
TIF>S
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>
Device "DA14585" selected.


Connecting to target via SWD
Found SW-DP with ID 0x0BB11477
DPIDR: 0x0BB11477
CoreSight SoC-400 or earlier
Scanning AP map to find all available APs
AP[1]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x04770021)
Iterating through AP map to find AHB-AP to use
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID register: 0x410CC200. Implementer code: 0x41 (ARM)
Found Cortex-M0 r0p0, Little endian.
FPUnit: 4 code (BP) slots and 0 literal slots
CoreSight components:
ROMTbl[0] @ E00FF000
[0][0]: E000E000 CID B105E00D PID 000BB008 SCS
[0][1]: E0001000 CID B105E00D PID 000BB00A DWT
[0][2]: E0002000 CID B105E00D PID 000BB00B FPB
Cortex-M0 identified.
J-Link>mem8 0x0, 0x10
00000000 = 68 78 FD 07 B9 19 00 00 C1 19 00 00 33 19 00 00

from ezflashcli.

ezflash avatar ezflash commented on September 24, 2024

For the permission, I can't really with that. It's OS specific. Usually it involves adding your user in the group in which the jlink device belong.

For the Id not shown, it's usually the flash is not correctly wired. You should review the getting started guide for flash connections.

Looking at what you read from the flash with JLink commander, it does not look like a valid bootable image. Can you try write one and then do the read again?

from ezflashcli.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.