Menu

18f2455 with defalt config =config error

2007-11-25
2013-05-30
  • Joshua Wojnas

    Joshua Wojnas - 2007-11-25

    18f2455 with defalt config =config error.
    I used blinkled.txt a sample file that came with GCB.
    I change the chip tipe it creates errors in the config file.
    this problem does not happen with the chip it has in the blinkled.txt file before I change the chip tipe also it works with the 18f2550

     
    • kent_twt4

      kent_twt4 - 2007-11-25

      Could be GCBasic is not configuring your 18f2455 correctly.  This happened to me with a 18f4431.  I had to comment out the A2D initialization routine in the system.h file in the include folder to get that device to run .  That particular device had different register bits than what was handled by GCBasic.  Also have seen one case where the config of GCBasic chipdata file differed from the data sheet.  So carefully check those areas, and report back if problem found, so the developer can fix it.

       
    • Hugh Considine

      Hugh Considine - 2007-11-29

      What is the exact error message? Or is there no error, but the program just doesn't run?

      I've tried compiling a program for the 18F2455. There are some differences in the config when comparing programs assembled with MPASM to programs assembled with the GCBASIC assembler (GCASM). The unimplemented config bit settings do not match - GCASM sets them all to the status not recommended by the datasheet, which I'll look into.

       
    • Joshua Wojnas

      Joshua Wojnas - 2007-12-09

      RE: 18f452 with defalt config =config error

       

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.