Serial Downloading

Go To Last Post
9 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 2

 

Hello guys, 

 

So I'm starting a new project off the batch and my friend borrowed me his PCB so I could download the firmware he used in order to have some baisis. He unfortunately couldn't pass me a code file because he lost it in his old PC.

 

 

So I was reading the datasheet of the AVR ATtiny2313A   that he used and I discoverd how to create an algorithm tat could read it easily:

 

 

However, once I got the file, avrdude acused me of privacy violation, and, summing it up, I got prohibited of acessing the firmware of the PCB.

Reading the datasheet I discovered these instructions so that I could force my way out of downloading it all:

 

However, nothing seens towork and the datasheet doens't expalin how I could program these instructions or how I could activate them.

 

Any thoughts?  

 

________________________________________________________________________________________________________________________________________________________________________________________

I offer no advise, but can point you to things I've used that have helped my on my journey to FF.

Click Link: Get Free Stock: Retire early! PM for strategy
share.robinhood.com/jamesc3274
get $5 free gold/silver https://www.onegold.com/join/7134f67c2b814c5ca8144a458eccfd61

kick_fncNTC_ffs

Last Edited: Wed. Dec 18, 2019 - 06:05 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 2

First of all, AVR RS-485 is not a microcontroller and your whole story seems a little messy.

 

Is this a joke or do you really need help?

 

This is supposed to be a serious forum.

 

Roga.

Last Edited: Thu. Dec 19, 2019 - 12:03 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 2

This is supposed to be a serious forum.

I'm sorry, I didn't get the memo.

 

Is this a joke or do you really need help?

Read the post again.

 

First off all, AVR RS-485 is not a microcontroller and your whole story seems a little messy.

Look at the pcb. It's a ATtiny2313A. RS-485 is a protocol for serial communication, of course it's not a chip.

 

Can you stop whining and actually help me?

________________________________________________________________________________________________________________________________________________________________________________________

I offer no advise, but can point you to things I've used that have helped my on my journey to FF.

Click Link: Get Free Stock: Retire early! PM for strategy
share.robinhood.com/jamesc3274
get $5 free gold/silver https://www.onegold.com/join/7134f67c2b814c5ca8144a458eccfd61

kick_fncNTC_ffs

Last Edited: Wed. Dec 18, 2019 - 06:17 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

I agree - it is a very strange post!

 

Are you trying to make something like that board?

 

Or just something - anything? - with an  ATtiny2313A ?

 

Or is it not (necessarily) even an  ATtiny2313A that you want?

 

 

kick_fnxntc_ffs wrote:
He unfortunately couldn't pass me a code file because he lost it in his old PC.

Doesn't sound very promising !

 

I suggest you'd be a lot better off getting a development board, and getting started with that.

 

Go for an Xplained-Pro, Xplained-Mini, or Xplained-Nano - as these are low-cost and come complete with a built-in debugger/programmer.

 

https://www.microchip.com/development-tools/xplained-boards

 

See Tip #6 in my Signature (below; may not be visible on mobile) for some "Getting Started" tips.

 

Or just get an Arduino.

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1


kick_fnxntc_ffs wrote:
my friend borrowed me his PCB

Appears to be one of these:

 

https://www.xanthium.in/buy-rs485-modbus-controlled-6-channel-relay-control-board-with-serial-rs485-i2c-spi-interface

 

 

They give you Github links for the schematics & source code.

 

And a Tutorial.

 

 

avrdude acused me of privacy violation, and, summing it up, I got prohibited of acessing the firmware of the PCB

Sounds like it thinks it's read-out protected ?

 

 

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 2

Thank you awneil! 

 

Bless your 10k+ postman level. You're awsome.

________________________________________________________________________________________________________________________________________________________________________________________

I offer no advise, but can point you to things I've used that have helped my on my journey to FF.

Click Link: Get Free Stock: Retire early! PM for strategy
share.robinhood.com/jamesc3274
get $5 free gold/silver https://www.onegold.com/join/7134f67c2b814c5ca8144a458eccfd61

kick_fncNTC_ffs

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I suppose it might be rude of me to point out that the original picture and the picture from the webpage awneil found just happen to be at almost exactly the same jaunty angle...  (Google image search, perhaps?  But why is the original picture so close to the found one...?)  S.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


Scroungre wrote:
almost exactly the same jaunty angle

I would say exactly the same jaunty angle.

 

And the same grey background.

 

 

Google image search, perhaps

Indeed - also seems to be popular on Pinterest:

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

The board is from India, and the OP is on the opposite side of the world.  Both may not be fluent in English so I'll let this simmer for now....

 

I doubt the OP is trying to generate marketing buzz.

 

Jim

 

 

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

Last Edited: Thu. Dec 19, 2019 - 01:25 PM