Compiled Hex File does not have Config Word


Closed Thread
Results 1 to 3 of 3
  1. #1
    GoingMad's Avatar
    GoingMad Guest

    Exclamation Compiled Hex File does not have Config Word

    Hello to one and all,

    I am in desperate need of assistance. I am currently using Pic Basic Compiler and a Velleman k8048 programmer. I have written a simple file (from the Pic Microcontroller Project Book; John Iovine) to blink 2 leds on and off using the high, low and pause commands to test the compiler. After using the compiler, it tells me the program has compiled with no errors. However, when I load the hex file into the Pic Programming software, it tells me "No Config-Word in File".

    To test programmer, I downloaded freeware mikroBasic and wrote the equivalent code, compiled and loaded into programmer with no problems.

    Please can someone let know if they have had a similar problem or if I HAVE to use the Epic Programmer. I have tried everything I can think of including trying to run a modified .asm file generated by Pic Basic Compiler through MPASM.

    Thanks
    GoingMad

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Yes you can define your config fuses in your code... but i don't know if Velleman's kit support them. It should but i don't have it. Maybe there's another software supporting this programmer?

    Anyways, see the FAQ to know how to set config fuses into your code
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default programmer

    Quote Originally Posted by GoingMad
    Hello to one and all,

    Please can someone let know if they have had a similar problem or if I HAVE to use the Epic Programmer. I have tried everything I can think of including trying to run a modified .asm file generated by Pic Basic Compiler through MPASM.

    Thanks
    GoingMad
    Hello, I read his book and assembled most of his projects. I use a JDM clone programmer I got off ebay for 12 bucks. It programmed all his code no problem although I had to set the config fuses manualy, as I did not know how to set them in code as he neglected to include that in his book. I learned it here. So I would have to say, no I do not believe you have to get an epic programmer to use PIC Basic Pro, even if that is what they recommend. Now you may choose to use it, I didn't because I was unwilling to pay for it. The JDM clone has not failed to program any supported device I have tried. What programmer
    software are you using? You have to tell micro code studio to use your particular software or it will default to epic and it will not run your programmer. ICPROG workes for me and is freeware on the internet. http://www.ic-prog.com/index1.htm
    JS
    Last edited by Archangel; - 4th December 2006 at 02:57.

Similar Threads

  1. 18F4550 Bootloader enter via eeprom setting
    By bradb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd November 2008, 23:51
  2. Error 0X0000008E when connecting a 18F2550 USB HID
    By FranciscoMartin in forum USB
    Replies: 8
    Last Post: - 16th October 2008, 17:20
  3. DS2760 Thermocouple Kit from Parallax in PicBasicPro
    By seanharmon in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th July 2008, 23:19
  4. PortE problems (PIC18F4455)
    By RubenR in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 12th July 2006, 15:26
  5. calculation problem
    By nicolelawsc in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st March 2006, 15:23

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

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