Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firmware dump #3

Open
Ingramz opened this issue Jan 13, 2018 · 7 comments
Open

Firmware dump #3

Ingramz opened this issue Jan 13, 2018 · 7 comments

Comments

@Ingramz
Copy link
Owner

Ingramz commented Jan 13, 2018

The main microcontroller used is Renesas R5F21258SN.

The programming and debug interface is supposedly done via 6 pins: VCC, GND, RX, TX, RST, MODE

Most of it is plain UART, however it looks like MODE and RST has to be used in a specific way to trigger the programming features.

ToorCon 13 badge provides some instructions. It should be possible to use a simple FTDI FT232 3.3V adapter to interface with the chip.

A quick glance at the datasheet shows that it is possible to "protect" chip from being read via 7 byte (56 bit) key. Obvious keys that should be tried are 00:00:00:00:00:00:00 and FF:FF:FF:FF:FF:FF:FF. If a different key is used, then an effort should be made to attempt to figure out the key, however as it is 56 bits, brute force will not be practical. A way to poke memory via modbus should be investigated in this case to extract or at worst overwrite the key.

If firmware binaries can be obtained from working units, this will enable upgrading early models to a newer firmware and further study its functions via inspecting the assembled binary. Also it might enable cross-flashing application 116/130 unit to application 131 if one wanted.

@Ingramz
Copy link
Owner Author

Ingramz commented Sep 22, 2018

Success!

image

@Ingramz
Copy link
Owner Author

Ingramz commented Nov 15, 2018

Help wanted!

I'm looking for someone who could provide me a dump of software version 1.08. I can provide the necessary tools for the job and know-how.

@mattiaslundin
Copy link

If you are still interested i can help out with 1.08

@Ingramz
Copy link
Owner Author

Ingramz commented Jun 9, 2019

@mattiaslundin yes, definitely. Do you happen to own an FTDI serial adapter to perform he task outlined on the firmware page?

@mattiaslundin
Copy link

I’ve got an rs232 and 485 adapter but not sure if they’ll work. Will give it a try at least.

@Ingramz
Copy link
Owner Author

Ingramz commented Jun 9, 2019

Plug them to your computer and see what the USB device ID-s are.

@Ingramz
Copy link
Owner Author

Ingramz commented Aug 23, 2019

@mattiaslundin would you be still up for helping to dump the firmware?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants