Jump to content
43oh

Crack SimpleAvr's clock easter egg


Recommended Posts

What chips are those? AVRs? I've never seen chips piggybacked like that. ;)

 

from my vusbtiny project

if you are using vusbtiny to flash 8 pin AVR devices, you can just press your target device on top of the programmer device. the programmer had been designed so that the programming pins matches w/ targets. there is one trick though, you will need to isolate pin 2 and 3 on the programmer mcu, as they are the USB D+ and D- pins connecting to the PC. i use a cut of scotch tape to achieve this, you can see it on the photos. show below is a tiny13v "riding" on the tiny45, ready to receive firmware.

 

:D there is even a "video", u'll have to find it yourself, can't give detail here, after all this is 430 land.

Link to post
Share on other sites
  • Replies 39
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

well, i had kind of cleaned up the rtc extension for the 3p4w clock, now it's 8p9w.   had stayed on my bedside for a week, using the alarm everyday, had not really measure the accuracy but does not

Here, maybe I can contribute something on this thread to initiate some discussions regarding the easter egg. I compiled the stripped code and compared the symbol dump of the resulting .elf against th

sorry for the very delayed reply. been busy and had missed a week or so checking the forums and your new posts escape my radar screen (got flooded by others, i think, i usually just check "recent post

Posted Images

thanks, and most of my code are "collected" snippets turn to my use though :)

 

but the led multiplexing is an original (as far as i know), not the multiplexing itself, but the way macros are used to resolve the port values at compile time, at run-time i don't need to map / translate the port bits (led segments) from a digit for output, i just output to the port right away. it uses more program / data memory (using table to "remember" port values and stay values for each digit) but it's so fast that u can run the multiplexing on a 32khz clock source w/o clicker.

 

actually i was trying to run this at very low clock and created this mechanism, eventually the lack of dimmer control (at low clock speed) made me abandon it and now i think the rtc clock runs at 1Mhz divided by 2 (500khz), sort of a compromise.

 

if any part of the code can do good in your projects, do use them, no need to credit me, as i said, i just "collected" them from here and there.

Link to post
Share on other sites
  • 2 years later...

Hi, good day everyone,

 

Can I ask a question? that is not quite related to the topics.. haha..

 

Where to locate the .elf file. I know that when we right click the workspace and select properties, we can select the output format to be legacy COFF or eabi(ELF). But I can't find the .elf file around. And I saw the author posting .elf file in his website, maybe I can ask around. =)

 

Warm Regards,

Kent

Link to post
Share on other sites

 

Where to locate the .elf file. I know that when we right click the workspace and select properties, we can select the output format to be legacy COFF or eabi(ELF). But I can't find the .elf file around. And I saw the author posting .elf file in his website, maybe I can ask around. =)

 

 

 

Hi Kent,

 

For this clock project I used mspgcc to build and the default product is .elf files. Are you using CCS / IAR or energia? I sometimes uses CCS but never take a close look at the output format as long as I can get my firmware downloaded to my LP.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...