(SOLVED!) How to read and write mainboard Flash (Spansion S29GL)

ACM - Ford FX, NX and MCA headunits
Post Reply
oscarboiro
Active member
Posts: 123
Joined: 19 Feb 2019, 21:50

Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)

Post by oscarboiro »

Hi, my clger segger, it worked perfectly before I had the problem of canceling the update process, I'm using the same Dupont cables, they measure 20cm.
I read the orange service connector voltage and got the following results.

pin 8 -> 3,39v
pin 9 -> 0,09v
pin 10 -> 3,39v
pin 11 -> 3,39v
pin 12 -> 3,39v
pin 13 -> 0
pin 14 -> 0
pin 15 -> 3,39v

Will I have to buy another j-tag of higher quality?
Kuga MK1 owner
User avatar
Stevebe
Pro
Posts: 258
Joined: 08 Feb 2019, 12:28

Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)

Post by Stevebe »

I’m only saying as I have 2 of the clones which won’t work for some reason and never did with any of my NX units,
I don’t know if others have had any problems with them, but as you say it was working fine,
I’ll try and read the voltages on my header ASAP, but I’m very busy getting my motor ready for a respray.
Digimod
Go4IT
Pro
Posts: 967
Joined: 08 Feb 2019, 12:25

Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)

Post by Go4IT »

The voltages are okay, but doesn't matter. To see if something is wrong you need a logic analyzer. Here i can suggest a Saleae clone for about 10€. They really work and help a lot. To find electrical issues, a DSO is required.

But i'm with steveb and bet your Jlink clone is faulty, even if you said that you had problems updating it. Go and buy and genuine EDU for abput 60€, it's really worth it. For the keys to unlock to pro, ask me on PM.
oscarboiro
Active member
Posts: 123
Joined: 19 Feb 2019, 21:50

Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)

Post by oscarboiro »

I understand, im looking to buy one,any page to buy in good price, i leek ebay but the price is around 100€

I want to buy it next month, now I have many expenses.

Thanks!!!!
Kuga MK1 owner
Go4IT
Pro
Posts: 967
Joined: 08 Feb 2019, 12:25

Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)

Post by Go4IT »

oscarboiro wrote: 13 Apr 2019, 07:51 I understand, im looking to buy one,any page to buy in good price, i leek ebay but the price is around 100€
Have you googled it?
https://www.antratek.de/j-link-edu (60€ + 15€ shipping to Spain)
https://www.adafruit.com/product/1369 ($70)

I also wonder if the Jlink Mini would be sufficient: https://www.antratek.de/j-link-edu-mini
oscarboiro
Active member
Posts: 123
Joined: 19 Feb 2019, 21:50

Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)

Post by oscarboiro »

Go4IT wrote: 13 Apr 2019, 08:17
oscarboiro wrote: 13 Apr 2019, 07:51 I understand, im looking to buy one,any page to buy in good price, i leek ebay but the price is around 100€
Have you googled it?
https://www.antratek.de/j-link-edu (60€ + 15€ shipping to Spain)
https://www.adafruit.com/product/1369 ($70)

I also wonder if the Jlink Mini would be sufficient: https://www.antratek.de/j-link-edu-mini
Thanks!!!! Do you see my last mail?
Kuga MK1 owner
oscarboiro
Active member
Posts: 123
Joined: 19 Feb 2019, 21:50

Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)

Post by oscarboiro »

I ordered my jlink EDU. Now I need wait to receive, and later try to write my unit.
Kuga MK1 owner
oscarboiro
Active member
Posts: 123
Joined: 19 Feb 2019, 21:50

Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)

Post by oscarboiro »

Today i receibe my EDU j-link but after connect, have the same problem.

Any sugestions?
Kuga MK1 owner
Go4IT
Pro
Posts: 967
Joined: 08 Feb 2019, 12:25

Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)

Post by Go4IT »

As i experimented around with FX mainboard, i found that you can completely erase the flash and the radio still communicates via CAN. Interesting... it means that CAN communication is more done by the Radioprocessor (V850) and not by HMI (OMAP). I'm curios if it might be possible to flash the mainboard via CAN, like it could be done for other modules also...

The only sector you cannot erase is the first one (sector #0) where the bootloader resides in. It seems to be write- or at least erase-protected by the flash chip itself. Shure the update will change this record, so there must be a way to unlock it.

I also found out that if you flash a firmware and read it back after one startup cycle, the content is changed. Not dramatically, but there are many changes. I will try to get a pattern from it, as it proofs my theory that RTOS is using the NOR-Flash as a filesystem.
oscarboiro
Active member
Posts: 123
Joined: 19 Feb 2019, 21:50

Re: (SOLVED!) How to read and write mainboard Flash (Spansion S29GL)

Post by oscarboiro »

Hello, After buy and try my SEGGER EDU, i have the same problem, not possible write my NX board.
I try to read and write in another NX and work fine, so the problem is on the NX and not in the SEGGER, cables or configuration.
when i try to connect show me this fail:
ScreenShot SEGGER MMU FAil.jpg
I try to deactivate the MMU, but after deactivate show me next fail with reference to a RAM
ScreenShot SEGGER RAM FAil.jpg
Any sugestions? i need replace the ram memory?
You do not have the required permissions to view the files attached to this post.
Kuga MK1 owner
Post Reply