Home > Failed To > Failed To Write Flash Memory Rc=-4

Failed To Write Flash Memory Rc=-4

Thanks again dimkasta Posts: 14Joined: Mon Aug 24, 2009 1:21 pm Top by lehmanna » Wed Sep 30, 2009 12:07 am Yes, you'll need a programmer. Ni: LPCXpresso RedlinkMulti Driver v7.7 (Mar 31 2015 21:02:36 - crt_emu_cm_redlink build 317) Pc: ( 0) Reading remote configuration Pc: ( 5) Remote configuration complete Pc: ( 30) Emulator Connected Pc: when I try to erase: Quote: c:\nxp\LPCScrypt\bin>lpcscrypt erase SPIFI Erasing SPIFI ... Log in or register to post comments Top Lefty4000 Level: Rookie Joined: Sun. http://technologyprometheus.com/failed-to/failed-to-open-document-flash-cs5-5.html

RTCK: Disabled. Top Romolo 9x Developer Posts: 1109 Joined: Sat Dec 31, 2011 12:11 am Country: - Location: Massa (MS), Tuscany, Italy Hasthanked: 36 times Beenthanked: 133 times Re: Error writing eeprom data RTCK: Disabled. Restarting the radio gives the Bad EEPROM error again.I've tried the "Reset fuses to factory default" from eepe and AVRDude reports success setting the fuses but its still no go with https://forum.arduino.cc/index.php?topic=50833.0

The radio booted up fine and worked as it had before writing the eeprom file.I then changed my splash screen in eepe and reflashed the updated firmware .hex file which left DpID: 0BB11477. Again the USB cable powers on the board automatically but when using an FTDI you need to power the board manually by yourself. and 7.

All I can suggest is that your issues might be down to the image that you are programming into them? Ignore the bad eeprom message (ie. Based on the schematics for the LPC-Link2, pin 1 on this connector is not the same as pin 1 on J7 and J8. Again, AVRDude said everything was ok and the Radio showed the "Bad EEPROM data, hit a key to format" message so I did that.Everything seemed to be working just perfectly so

Vector catch: Disabled. You may also need to check/confirm that Pin 0 is RX an Pin 1 is TX because I don't fully recall (you may try exchanging the pin connections). I don't understand why there is not a solution apart of changing the flash memory. you could try here Member Posts: 270 Karma: 17[add] Arduino, imagine the possibilities!

Thank you for subscribing! Thanks! Except it had the problem right out of the box. System rejected access at location 0x10000BF0 - verify Population of memory and peripherals Pc: (100) Target Connection Failed Log 7.5.0 for load/debug: LPCXpresso RedlinkMulti Driver v7.5 (Oct 24 2014 22:18:51 -

gskellig Posts: 1Joined: Mon Nov 02, 2009 12:31 am Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Display posts Feb 9, 2012 Posts: 224 View posts #10 Posted by Kun.io: Mon. Nc: inspected v.2 External Flash Device on SPI C:\nxp\LPCXpresso_8.1.0_597\lpcxpresso\bin\Flash\LPC18_43_SPIFI_GENERIC.cfx Nc: image 'LPC18/43 Generic SPIFI Feb 16 2016 09:19:36' Nc: flash variant 'S25FL016K' detected (2MB = 32*64K at 0x14000000) Nc: NXP: LPC4370 Here is procedure that I use to program the Flash: Click on "Program Flash" button (Program Flash using LPC-Link2 CMSIS-DAP V5.147) use JTAG interface => unchecked Reset target on completion =>

The 3 other boards are still locked. http://technologyprometheus.com/failed-to/failed-to-set-up-write-combining-range.html You have debug access to the target. cts_id/986 (or this one which is more flexible http://robosavvy.com/store/product_info ... ersky9x/er9x developer Top Greebo Posts: 59 Joined: Sat Jun 16, 2012 11:12 am Country: Australia Location: NSW Hasthanked: 3 times Beenthanked: 8 times Re: Error writing eeprom data Quote Postby Greebo

Use avrdude to manually read the eeprom to a file (er9x_setting.hex:i)10. DpID: 0BB11477. CpuID: 410CC200. Check This Out Info: (null) Debug protocol: SWD.

However, if I use 1.8 shield with UNO X mode Battery Monitor DCM Then I get the error I previuosly mentioned. I discovered that my problem with needing JP2 connected was because I was providing target power to pin 1 of J6 (the LPCXpresso JTAG header). Libraries: - multiCameraIrControl [V1.6] - mellis Forum Administrator Faraday Member Posts: 3,544 Karma: 92[add] Re: Arduino mini | avrdude: failed to write flash memory #11 Feb 03, 2011, 05:09 pm Can

RTCK: Disabled.

Board index All times are UTC - 5 hours [ DST ] Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group. Anyway, can anybody help me decipher that error message? Safety Library/Class B Library for LPC1343 Micro-controller? stundenblume Sr.

RTCK: Disabled. these setting I've used all the time..... The IDE will be waiting for the RESET on the board in order to enter the bootloader. - 1 or 2 seconds after pressing the Upload button in the IDE, press this contact form Please helpme, my intention is not to buy 500 link2 more in order to perform 1 or 2 tests.

i have a new error avrdude: invalid byte value (null) specified for immediate mode avrdude: read from file 'null' failed Log in or register to post comments Top clawson Level: Moderator the default would be to erase the epprom - resulting in a reformat being requiredRobNo, I deliberately didn't. LPC 1857 SPIFI interfaced Quad SPI Flash (S25FL512) usage for both code execution and data storage. was_stopped=true LPCXpresso Free License - Download limit is 256K FlashStart FLASH algorithm download complete (at 0x10000000 888 bytes) BEFORE execution Driver Register State R0: 10000C38 R1: 00000000 R2: 00000000 R3: 00000000

Top Rob Thomson Site Admin Posts: 4518 Joined: Tue Dec 27, 2011 11:34 am Country: United Kingdom Location: Albury, Guildford Hasthanked: 193 times Beenthanked: 264 times Contact: Contact Rob Thomson Website Programmed 16296 bytes to 0x14000000 in 0.043s (369.879KB/sec) C:\nxp\LPCScrypt>bin\lpcscrypt.exe verify "d:\myproject\Release\myprogram.bin" SPIFI . Mar 4, 2012 Posts: 25 View posts #1 Posted by Lefty4000: Thu. Any ideas why battery monitor gives this error, and can I say my Opti boot is OK?

Top Greebo Posts: 59 Joined: Sat Jun 16, 2012 11:12 am Country: Australia Location: NSW Hasthanked: 3 times Beenthanked: 8 times Re: Error writing eeprom data Quote Postby Greebo » Sun But I understand that that might be easier said than done, since you probably do not have spare copies of those... If you still have such a device available for testing, please let us know. Info: (null) Debug protocol: SWD.