Compiler/assembler problems preventing a simple change


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jun 2015
    Posts
    8


    Did you find this post helpful? Yes | No

    Default Re: Compiler/assembler problems preventing a simple change

    Here's another question that, when answered, may solve my problem:

    -What variables affect the generation of the .hex file by MicroCode Studio, and how can I extract information on them from a .hex file or other product of an earlier compilation?

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Compiler/assembler problems preventing a simple change

    Hi,

    As you do not report compilation/assemble errors I'll assume there are none.

    In theory it shouldn't matter which assembler you use - with the proviso that it understands the syntax produced by the compiler.

    Have you compared the two hex files? You should have one changed byte and a couple of changed checksums.

    How sure are you that you are using the correct version of the compiler?

    Yes its possible to change a byte in a hex file, the format is well documented. I beleive there is a overall checksum and one for each line.

    What variables affect the generation of the .hex file by MicroCode Studio
    All the variables.

    Does you source include the fuses used for flash programming? If not I guess you manually enter them into your programmer?

    Does your programmer allow you to make modifications?

    Personally, I wouldn't even try to change the hex file, I'd find out whats wrong.

    George

  3. #3
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: Compiler/assembler problems preventing a simple change

    Normally I find that white squares on an LCD is a timing issue. Are you sure you have the correct crystal installed and correct OSC set in the code ?

Similar Threads

  1. Compile problems with simple RF remote control example
    By astouffer in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th July 2012, 06:22
  2. Replies: 1
    Last Post: - 30th March 2012, 05:13
  3. A Simple IOC Routine (Interrupt On Change)
    By lugo.p in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th March 2010, 20:53
  4. Compiler problems
    By BobEdge in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 27th September 2006, 14:03
  5. Compiler/Assembler Error
    By LT_Pic in forum General
    Replies: 7
    Last Post: - 21st July 2005, 10:47

Members who have read this thread : 0

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