Menu

AVR Compile problem

2012-02-20
2013-05-30
  • Nobody/Anonymous

    When I compile this program

    #chip mega328p, 16

    dir portb.5 out

    start:
    portb.5 = 1
    wait 500 ms
    portb.5 = 0
    wait 500 ms
    goto start


    I get this error

    Great Cow BASIC (0.9 18/2/2011)

    Compiling A:\ARDUIN~2.TXT …
    Done

    Assembling program …
    Assertion failed: name != NULL, file gpsymbol.c, line 148

    abnormal program termination
    File not found

    Downloading program …

    I have the GCBASIC UpDATE installed. MEGA328p.dat file is in the GCBASIC folder,
    and in the chipdata folder, I'm not shure where it needs to be but it is in both.

    I have been using GCBASIC for PIC's for some time but I am new to the AVR's.
    The code compilies OK for my PIC 16F877a.

    I am sure it will compile OK for you. but its not working for me.
    I must be missing something, please help.  

     
  • Nobody/Anonymous

    Are you using gputils to compile an avr asm file??

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.