element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Analog Devices
  • Products
  • Manufacturers
  • Analog Devices
  • More
  • Cancel
Analog Devices
Forum Have a technical question for Maxim? Ask an Expert!
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Analog Devices to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 48 replies
  • Subscribers 46 subscribers
  • Views 8326 views
  • Users 0 members are here
  • expert
  • andy_waller
  • maxim
Related

Have a technical question for Maxim? Ask an Expert!

nlarson
nlarson over 16 years ago

If you need help on anything technical relating to Maxim products, please post your question here!

 

Don't forget to sign up for email notifications under the "Actions" box so you'll see when Andy answers your question.

 

image

 

Andy Waller

Andy is an Applications Engineer with Maxim Integrated Products.  He specializes in technical support for Maxim's product range for the entire life cycle of a product - from design to field..

 

If not already, you'll need to

image or image

 


to ask your question.

Otherwise, click reply below.

  • Sign in to reply
  • Cancel
Parents
  • mouser
    mouser over 2 years ago

    Hi Andy, 

    I'm trying to bring up a board that has a MAX32625 on it via SWD (and a Segger J-link Ultra+ adapter). When we first got the boards in I tested that I was able to download code to the device and it appeared to accept firmware via Eclipse/GDB/Segger... now that I'm done testing everything else on the board I'm back to actually testing the code and I'm finding that I can't upload code anymore and I get unusual errors that I don't understand. Eclipse (and GDB) complain that there are timeouts when trying to erase flash for programming. So I went into J-Link Commander and just tried to manually erase the flash.  Connecting to the chip works fine via SWD at 4 MHz, it sees the Cortex-M4 r0p1 core, etc.  But attempts to erase result in:

    J-Link>erase
    No address range specified, 'Erase Chip' will be executed
    'erase': Performing implicit reset & halt of MCU.
    Reset: Halt core after reset via DEMCR.VC_CORERESET.
    Reset: Reset device via AIRCR.SYSRESETREQ.
    Core did not halt after reset, halting it manually.
    Erasing device...

    ****** Error: Timeout while erasing chip, core does not stop. (PC = 0x200001D2, XPSR = 0x01000000, SP = 0x20000338)!
    J-Link: Flash download: Total time needed: 20.503s (Prepare: 0.369s, Compare: 0.000s, Erase: 20.067s, Program: 0.000s, Verify: 0.000s, Restore: 0.066s)
    ERROR: Erase returned with error code -5.

    I also tried explicitly targeting the full memory range and asking it not to reset the core (via erase 0x00000000, 0x000DFFFF, noreset) but get the same error. 

    This inability to erase the chip is preventing me from putting firmware on the device. Am I missing something?  How can I revive this chip? 

    Thanks,
    -Mouser 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • mouser
    mouser over 2 years ago

    Hi Andy, 

    I'm trying to bring up a board that has a MAX32625 on it via SWD (and a Segger J-link Ultra+ adapter). When we first got the boards in I tested that I was able to download code to the device and it appeared to accept firmware via Eclipse/GDB/Segger... now that I'm done testing everything else on the board I'm back to actually testing the code and I'm finding that I can't upload code anymore and I get unusual errors that I don't understand. Eclipse (and GDB) complain that there are timeouts when trying to erase flash for programming. So I went into J-Link Commander and just tried to manually erase the flash.  Connecting to the chip works fine via SWD at 4 MHz, it sees the Cortex-M4 r0p1 core, etc.  But attempts to erase result in:

    J-Link>erase
    No address range specified, 'Erase Chip' will be executed
    'erase': Performing implicit reset & halt of MCU.
    Reset: Halt core after reset via DEMCR.VC_CORERESET.
    Reset: Reset device via AIRCR.SYSRESETREQ.
    Core did not halt after reset, halting it manually.
    Erasing device...

    ****** Error: Timeout while erasing chip, core does not stop. (PC = 0x200001D2, XPSR = 0x01000000, SP = 0x20000338)!
    J-Link: Flash download: Total time needed: 20.503s (Prepare: 0.369s, Compare: 0.000s, Erase: 20.067s, Program: 0.000s, Verify: 0.000s, Restore: 0.066s)
    ERROR: Erase returned with error code -5.

    I also tried explicitly targeting the full memory range and asking it not to reset the core (via erase 0x00000000, 0x000DFFFF, noreset) but get the same error. 

    This inability to erase the chip is preventing me from putting firmware on the device. Am I missing something?  How can I revive this chip? 

    Thanks,
    -Mouser 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube