Go Down

Topic: Cosa: An Object-Oriented Platform for Arduino programming (Read 104644 times) previous topic - next topic

jediunix

I am trying the example CosaEEPROM on an atmega32u4.  The make target 'eeprom' only resets.  The make target 'raw_eeprom' says

  On leonardo, raw_xxx operation is not supported.  Stop.

Arduino.mk raw_eeprom says ERROR_ON_CATERINA.

What's the story here?  Is it not possible to initialize EEPROM on Caterina?

kowalski

What's the story here?  Is it not possible to initialize EEPROM on Caterina?

@jediunix

Did you try modifying Arduino.mk and disabling the caterina check? This seems to have to do with a problem in older versions of avrdude. Anyway allowing eeprom hex upload works but avrdude will ask if the fuses should be updated. The modification is available on github.

Cheers!

Ref. http://lists.nongnu.org/archive/html/avrdude-dev/2012-07/msg00027.html

Go Up