How to program a specific flash region of a Nations N32G455RE MCU?

Collapse
X
Collapse
+ More Options
Posts
 
  • Time
  • Show
Clear All
new posts
  • Nikan.e
    Member
    • Nov 2023
    • 17
    • Germany

    #1

    How to program a specific flash region of a Nations N32G455RE MCU?

    Greetings and salutations!

    I have a device that uses an N32G455RE. Unfortunately, its flash got corrupted. I have a dump of a working chip.
    How can I program a specific region of the flash or the whole flash without touching the RAM, option registers, etc.?
    I do not have a J-Link debugger and won't buy one, as I am not rich.
    I have flashed a Nucleo board with an ST-Link to a J-Link just to find out that the ST-J-Link only supports ST chips.

    What would be the cheapest and easiest option to program the Nations chip's flash without touching registers etc.?


    I have multiple boards and programmers on hand:
    picKit 4
    NUCLEO-C031C6
    RTK9FPG021S00001BJ
    nRF52840-DK
    FRDM-MCXN947

    Any advice is welcome!
    Thanks in advance and Best Regards!
  • piernov
    Super Moderator
    • Jan 2016
    • 4435
    • France

    #2
    This looks extremely similar to an STM32 MCU, maybe even just a clone, there are multiple options to interact with it: USB (in bootloader mode with dfu-util), UART (in bootloader mode with stm32flash), SWD (maybe with STM32CubeProg or OpenOCD using an ST-Link), JTAG (possibly with OpenOCD using some sort of JTAG probe, FT2232 could be enough).
    Of course always take a full backup before doing anything.
    OpenBoardView — https://github.com/OpenBoardView/OpenBoardView

    Comment

    • Nikan.e
      Member
      • Nov 2023
      • 17
      • Germany

      #3
      You are right, It seems to be a clone. By choosing the STM32G431RB MCU in J-Flash, I was able to dump the entire 512KB of flash from the working and not-working Nations chip. Unfortunately, it is not possible to flash the chip that way; an error always occurs, but it does not specifically indicate the type of error. It is unclear if this is due to the difference in internal flash sizes of the chips or if there is an ID mismatch, etc.
      I will try the STM32CubeProg. Is there a settings file of supported chips if something has to be changed for the Nations chip to work?

      Comment

      Related Topics

      Collapse

      • ekozeko333
        [Help] Lenovo Yoga Slim 7-14ARE05 (DA0LS3MBAF0) – 25Q80DVN1G Flash Is All FF, USB-C PD Stuck at 5V
        by ekozeko333
        Hi all,
        I’m trying to recover a Lenovo Yoga Slim 7-14ARE05 with board DA0LS3MBAF0 Rev:F. I’ve run into an unusual issue where USB-C PD is stuck at 4.7–5V and the system won’t boot (keyboard lights flash briefly, then nothing).
        🔥 The Problem Started After Suspected ESD/PD Fault
        I experienced a power issue or ESD event through a USB-C charger
        After that, the NX20P5090 power switch was visibly burned and was replaced
        Now the PD controller always negotiates 5V @ 2A, even with known-good chargers
        🧠 What I’ve Done So Far
        Flashed...
        06-21-2025, 02:48 AM
      • corrize
        Nikon D800 camera - flash don’t work and capacitor don’t charge
        by corrize
        Hello, I'm stuck in troubleshooting…
        The flash system works like that : when the (mechanic) flash button is pressed, the flash mecanically pop up, and a circuit buck boost elevate 7v (batt) to 200-300v (?) for charging the big capacitor. And when the photo shoot button is pressed, the capacitor is discharged in the xeon light.

        In the D800, there is a first « power board » close to the battery. 2 wires (batt 7v) goes to another little « flash board ». I measured 7v, so ok.
        When I press the flash button, it's detected by the system, flash icon appear on LDC display....
        10-01-2022, 10:02 AM
      • abajor
        Canon VIXIA HF S10 A read data from inernal flash memory.
        by abajor
        Hello I've had somebody bring in one of these charming little cameras to attempt retrieving data from the internal 32GB flash.
        Something is damaged inside the cameras lens assembly I can hear it clunking around and it has probably dislodged the sensor, powering up the camera gives a blank screen and the focus motor sounds like it's having a fit.
        The camera will not connect to a computer via USB in this state, I have no options no navigation, just power up and focus/zoom motor noises.

        I think my best shot is to figure out a way to read the internal flash memory outside...
        07-20-2024, 12:04 AM
      • Ihandyrepair
        4 red flash led 65X950G boot Sony and android logo but then black
        by Ihandyrepair
        HI guys

        I got here a Sony 65X950G - I tried to find any repairs guides for this model but not many online

        here is the issue
        I have Sony and android logo. but then 4 led red flash lights front of the tv

        I have 3.3v ref. 12v reg then T con 12v when I press the power on button
        but then I get black screen and 4 red flash light at the front LED
        but I get 3 led flash on the LED driver board.

        I check that few X900F or C YouTube repairs, seems that if you have 4 led red flash it could be due of LED black light error
        so I tried...
        07-11-2024, 01:45 AM
      • nordlicht
        ThinkPad X1 Nano (20UN) bricked
        by nordlicht
        Hi guys,

        while trying to mod my ThinkPad X1 Nano (model 20UN) I got too impatient to hold the wires pressed to the SPI Flash contacts, so I soldered wires to it, but wasn't paying attention when connecting my programmer and, stupidly, swapped VCC and GND. Thus I fried the main SPI Flash, and I only have an incomplete/corrupt dump (u49_incomplete.bin). The secondary SPI flash on the board (W25Q256JVEIQ) seems to hold two redundant copies of the EC firmware (at 0x1000 and 0xc0000) as well as a redundant BIOS copy. I am fairly confident that the secondary Flash dump is correct (dumped...
        04-27-2022, 12:46 PM
      • Loading...
      • No more items.
      Working...