migrate mega8 to attiny85

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

I'm having a hard time tracking down a few registers.
 

boot_rww_enable(); complains about rwwsre -> I believe this is right SPMCSR | CTPB;

IVCE and IVSEL is undeclared and missing from attiny but I can't find suitable replacements.

 

 

 

 

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

SPM on a Tiny works differently.    Datasheets explain the registers.   App Notes describe / illustrate techniques.

 

David.

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

S_K_U_N_X wrote:

IVCE and IVSEL is undeclared and missing from attiny but I can't find suitable replacements.

The t85 has no BLS.  The interrupt vector table cannot be moved.

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"Wisdom is always wont to arrive late, and to be a little approximate on first possession."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"We see a lot of arses on handlebars around here." - [J Ekdahl]

 

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

If you want to see how to workaround all the limitations of bootloaders in Tiny then Google "tiny safe bootloader "

 

EDIT by which I mean this... http://jtxp.org/tech/tinysafeboo...

 

Last Edited: Sun. Mar 8, 2020 - 07:45 PM