AVR - Atmega328p Dump issue

Everything regarding communication-protocols like CAN, OBD, LIN, JTAG, BDM, I2C, SPI, ...
paxtonix
Active member
Posts: 99
Joined: 16 Oct 2019, 14:25

AVR - Atmega328p Dump issue

Post by paxtonix »

Hi guys , having problems over dumping Atmega328p nano

Using avrdude for it but I don't get nothing back form nano
mchacker.JPG
I checked everything / different programmers , cables, mcu drivers - all gives nothing
mchacker2.JPG
even reading out fuses don;t get me nowhere

Code: Select all

avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_ReceiveMessage(): timeout

from specs i read that mcu might be BIT 0 ( read protected ) - and I believe it is . Any tips how to dump - or it cannot be done ?

Best
You do not have the required permissions to view the files attached to this post.
Tourist
paxtonix
Active member
Posts: 99
Joined: 16 Oct 2019, 14:25

Re: AVR - Atmega328p Dump issue

Post by paxtonix »

Tried also to establish connection but also no answer from module :(

pytty , tera term, nothing worked :oops:
You do not have the required permissions to view the files attached to this post.
Tourist
User avatar
Stevebe
Pro
Posts: 258
Joined: 08 Feb 2019, 12:28

Re: AVR - Atmega328p Dump issue

Post by Stevebe »

If your trying to read a gateway they are read protected ..
Digimod
paxtonix
Active member
Posts: 99
Joined: 16 Oct 2019, 14:25

Re: AVR - Atmega328p Dump issue

Post by paxtonix »

Stevebe wrote: 26 Jan 2020, 20:19 If your trying to read a gateway they are read protected ..
already know that - alternative way for it ? hex dump will land here one way or another - for all of us to explore- just need to read it out first .
Tourist
ronald0001
Active member
Posts: 103
Joined: 05 Nov 2019, 10:34

Re: AVR - Atmega328p Dump issue

Post by ronald0001 »

maybe can use any glitch to read avr...like voltage glitch...or clock glitch

here is somthing for atmega328
https://wiki.newae.com/V4:Tutorial_A2_I ... _Explorer)
ronald0001
Active member
Posts: 103
Joined: 05 Nov 2019, 10:34

Re: AVR - Atmega328p Dump issue

Post by ronald0001 »

but you not think its easier ti look wich can messages will send and on wich can messages it will give reaction...and write your own code....i dont thin thats a big deal...when my cangatway arrives i will try...
User avatar
Stevebe
Pro
Posts: 258
Joined: 08 Feb 2019, 12:28

Re: AVR - Atmega328p Dump issue

Post by Stevebe »

ronald0001 wrote: 26 Jan 2020, 22:16 but you not think its easier ti look wich can messages will send and on wich can messages it will give reaction...and write your own code....i dont thin thats a big deal...when my cangatway arrives i will try...
That’s the way I would do it ,,.
Digimod
ronald0001
Active member
Posts: 103
Joined: 05 Nov 2019, 10:34

Re: AVR - Atmega328p Dump issue

Post by ronald0001 »

must arriver between tomorow and wendsday....i hope
paxtonix
Active member
Posts: 99
Joined: 16 Oct 2019, 14:25

Re: AVR - Atmega328p Dump issue

Post by paxtonix »

Sorry, I completely forgot about it - just because I was stubborn to read the hex dump - I forgot to share the CAN dump - my bad :oops:
Can_bus_monitor_MS_.log
Can_bus_monitor_HS_.log
Can_bus_logger_full60sek.log

I did for all HS / MS lines with a time bar. Also during the bench test, I noticed that some Can messages were not coming when the engine was off. - In my test environment, I only have bcm and IPC without ECU. may be the reason I missed the CAN message

LOG's Are to big to post direct on forum
You do not have the required permissions to view the files attached to this post.
Tourist
ronald0001
Active member
Posts: 103
Joined: 05 Nov 2019, 10:34

Re: AVR - Atmega328p Dump issue

Post by ronald0001 »

better do a hs-can and ms-can trace while you drive...
deactivte auto pam while driving...
after do a trace ms/hs-can with activated auto pam while drive....
so you can find better the can ids when you compare them
Post Reply