Results 1 to 7 of 7

Thread: Converting .asm to .hex for LedTriks

  1. #1
    Join Date
    Nov 2007
    Location
    Houston, TX (near Katy)
    Posts
    982
    Post Thanks / Like

    Default Converting .asm to .hex for LedTriks

    I have a custom .hex file for my ledtriks (Triks-C) that seems to be corrupt. I don't have any way to convert my .asm to hex and I don't remember how I did it last time. I looked on the internet, but all of the avenues didn't work. All I have done is removed the init frame and both frames with the test sequence. Can someone point me in the right direction or convert the file for me? The hex file goes into an Atmel ATtiny2313
    Thanks
    That's a feature not a bug.
    There's no charge for that.

  2. #2
    Join Date
    Oct 2008
    Location
    San Jose, CA
    Posts
    10,283
    Post Thanks / Like

    Default Re: Converting .asm to .hex for LedTriks

    You can go to Atmel and download their IDE (Atmel Studio) and compile the code. Since you want a custom hex, the one I give (which is a Radio Station tune-to in standby mode is probably not what you want).
    [COLOR=#000080][B][I]Brian[/I][/B][/COLOR]

    [COLOR=#ff0000]Christmas in San Jose! - [URL="http://www.christmasinsj.com"]WEB[/URL] - [URL="https://www.facebook.com/ChristmasInSanJose"]FB[/URL] - [URL="https://www.youtube.com/playlist?list=PL1W78s7liEQEE0ed7WSyLF7B6j3lBX43w"]VIDEOS[/URL]
    [/COLOR][COLOR=#800080]Halloween in San Jose! - [URL="https://www.facebook.com/pages/Halloween-in-San-Jose/356280784428581?ref=tn_tnmn"]FB[/URL]
    [SIZE=1]2015 Halloween Show - Planning now - hopefully some house projection...
    2015 Christmas Show - 5x E681-12, 1x 6804, Ren48LSD, 3x RenSS16, 1x Falcon16v2 (w/expander), 24x90 WS2811 pixel MT (James MT Strips), 12x DIYC Floods, SuperPixelStar, 3x Pixel Arches, PixaBulb House outline
    [/SIZE]
    [/COLOR][SIZE=3][COLOR=#008000][I]Ignorance is Temporary [/I][/COLOR][COLOR=#800080][I]- [/I][/COLOR][COLOR=#ff0000][I]Stupidity is Forever[/I][/COLOR][COLOR=#800080][I]...[/I][/COLOR][/SIZE][I][COLOR=#ff0000]
    [/COLOR][/I]

  3. #3
    Join Date
    Nov 2007
    Location
    Houston, TX (near Katy)
    Posts
    982
    Post Thanks / Like

    Default Re: Converting .asm to .hex for LedTriks

    I have been working on this on and off for a couple of months. I have issues from object file is empty to error assembling file. I will include the .asm file here hoping someone can help me out.
    Attached Files Attached Files
    That's a feature not a bug.
    There's no charge for that.

  4. #4
    Join Date
    Oct 2008
    Location
    San Jose, CA
    Posts
    10,283
    Post Thanks / Like

    Default Re: Converting .asm to .hex for LedTriks

    Here you go...
    Attached Files Attached Files
    [COLOR=#000080][B][I]Brian[/I][/B][/COLOR]

    [COLOR=#ff0000]Christmas in San Jose! - [URL="http://www.christmasinsj.com"]WEB[/URL] - [URL="https://www.facebook.com/ChristmasInSanJose"]FB[/URL] - [URL="https://www.youtube.com/playlist?list=PL1W78s7liEQEE0ed7WSyLF7B6j3lBX43w"]VIDEOS[/URL]
    [/COLOR][COLOR=#800080]Halloween in San Jose! - [URL="https://www.facebook.com/pages/Halloween-in-San-Jose/356280784428581?ref=tn_tnmn"]FB[/URL]
    [SIZE=1]2015 Halloween Show - Planning now - hopefully some house projection...
    2015 Christmas Show - 5x E681-12, 1x 6804, Ren48LSD, 3x RenSS16, 1x Falcon16v2 (w/expander), 24x90 WS2811 pixel MT (James MT Strips), 12x DIYC Floods, SuperPixelStar, 3x Pixel Arches, PixaBulb House outline
    [/SIZE]
    [/COLOR][SIZE=3][COLOR=#008000][I]Ignorance is Temporary [/I][/COLOR][COLOR=#800080][I]- [/I][/COLOR][COLOR=#ff0000][I]Stupidity is Forever[/I][/COLOR][COLOR=#800080][I]...[/I][/COLOR][/SIZE][I][COLOR=#ff0000]
    [/COLOR][/I]

  5. #5
    Join Date
    Nov 2007
    Location
    Houston, TX (near Katy)
    Posts
    982
    Post Thanks / Like

    Default Re: Converting .asm to .hex for LedTriks

    Thanks Brian,
    One of these days I will PM you to ask exactly how it is done.
    That's a feature not a bug.
    There's no charge for that.

  6. #6
    Join Date
    Oct 2008
    Location
    San Jose, CA
    Posts
    10,283
    Post Thanks / Like

    Default Re: Converting .asm to .hex for LedTriks

    I'll try and get some screen caps. I was using Studio 6.1 which might be older by now but I haven't done a lot with Atmel stuff lately. I use the New Project wizard and select new .asm project and point it to your .asm file. Somewhere in that you tell it to use the 2313 and then just Build it. Goes pretty quick.

    Now that I just typed that - I forget - did this require 2313 or 2313A? I built it for the 2313 so might have to redo it if important...
    [COLOR=#000080][B][I]Brian[/I][/B][/COLOR]

    [COLOR=#ff0000]Christmas in San Jose! - [URL="http://www.christmasinsj.com"]WEB[/URL] - [URL="https://www.facebook.com/ChristmasInSanJose"]FB[/URL] - [URL="https://www.youtube.com/playlist?list=PL1W78s7liEQEE0ed7WSyLF7B6j3lBX43w"]VIDEOS[/URL]
    [/COLOR][COLOR=#800080]Halloween in San Jose! - [URL="https://www.facebook.com/pages/Halloween-in-San-Jose/356280784428581?ref=tn_tnmn"]FB[/URL]
    [SIZE=1]2015 Halloween Show - Planning now - hopefully some house projection...
    2015 Christmas Show - 5x E681-12, 1x 6804, Ren48LSD, 3x RenSS16, 1x Falcon16v2 (w/expander), 24x90 WS2811 pixel MT (James MT Strips), 12x DIYC Floods, SuperPixelStar, 3x Pixel Arches, PixaBulb House outline
    [/SIZE]
    [/COLOR][SIZE=3][COLOR=#008000][I]Ignorance is Temporary [/I][/COLOR][COLOR=#800080][I]- [/I][/COLOR][COLOR=#ff0000][I]Stupidity is Forever[/I][/COLOR][COLOR=#800080][I]...[/I][/COLOR][/SIZE][I][COLOR=#ff0000]
    [/COLOR][/I]

  7. #7
    Join Date
    Nov 2007
    Location
    Houston, TX (near Katy)
    Posts
    982
    Post Thanks / Like

    Default Re: Converting .asm to .hex for LedTriks

    I had Downloaded 6.1 and just couldn't get there. I had AVR Studio 4 on an older computer and used the Project Wizard. Bingo!
    Thanks for the file, though. Works like a champ.
    That's a feature not a bug.
    There's no charge for that.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •