Error when compiling with DT_INTS_3_4b"


Closed Thread
Results 1 to 29 of 29

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Error when compiling with DT_INTS_3_4b"

    Tumbleweed, It works a treat. Thanks... Wow these K40's can really be a pain but, twice the memory. I only wish my UMC Loader worked with them...
    Last edited by Dave; - 20th May 2018 at 16:40.
    Dave Purola,
    N8NTA
    EN82fn

  2. #2
    Join Date
    Aug 2011
    Posts
    455


    Did you find this post helpful? Yes | No

    Default Re: Error when compiling with DT_INTS_3_4b"

    Great. Glad it's working.

    I only wish my UMC Loader worked with them...
    I've got a 27K40 floating around here someplace. When I get a chance I'll see if I can get a UMC build together that works with it.

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Error when compiling with DT_INTS_3_4b"

    I believe the problem is with the UMCBuild.exe file that needs to be changed. I have tried a few times with the config's set for the appropriate devices and all I get is the message "Device not Self Programmable". I have emailed David Barker and he said that he will not support new devices for that Bootloader any more.
    Dave Purola,
    N8NTA
    EN82fn

  4. #4
    Join Date
    Aug 2011
    Posts
    455


    Did you find this post helpful? Yes | No

    Default Re: Error when compiling with DT_INTS_3_4b"

    UMCBuild.exe requires mpasm and some of the files from the old MPLAB8, but you need mpasmx from MPLABX to support the K40. Add to that it's possible MPLABX no longer includes some of the files UMCBuild is looking for.

    I'm pretty sure I can knock something together for you... I just need some free time to look at it.

  5. #5
    Join Date
    Aug 2011
    Posts
    455


    Did you find this post helpful? Yes | No

    Default Re: Error when compiling with DT_INTS_3_4b"

    Well, it turned out that there are so many changes required to get umcbuild to use mpasmx it just wasn't worth the bother.

    Here's the asm source for a UMC loader that works with the K40 (at least the 27K40... the only one I tried).
    You'll have to change the entries in the USER CONFIGURATION SECTION to match what you're using.
    Right now it's setup for an 18F27K40, 16MHz intosc, and uart1 on RC6/RC7.

    There are no other files required except for the mpasmx p18FxxK40.inc file. Don't use umcbuild.exe... just assemble it with mpasmx
    Attached Files Attached Files

  6. #6
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Error when compiling with DT_INTS_3_4b"

    Thanks Tumbleweed, I will give it a try when I get home from work tonight and let you know.
    Dave Purola,
    N8NTA
    EN82fn

  7. #7
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Error when compiling with DT_INTS_3_4b"

    Well Tumbleweed, I just couldn't wait to try it out. It all looks good. The only error I got when compiling was "undefined symbol":

    ; check to make sure program fits 26-5-2018
    #if $ > DEVICE_ROM
    error "program code exceeds flash size. change LOADER_SIZE_MIN"
    #endif

    I just commented them out and away we go....

    Once again, Thanks for the mod's.
    Last edited by Dave; - 30th May 2018 at 15:14.
    Dave Purola,
    N8NTA
    EN82fn

Similar Threads

  1. Replies: 0
    Last Post: - 14th November 2013, 03:32
  2. Error while compiling
    By BobK in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th April 2013, 17:01
  3. Replies: 1
    Last Post: - 30th March 2012, 04:13
  4. Compile error & syntax error on the word "loop:" as a label?
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th March 2010, 04:14
  5. error on compiling
    By parker in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th June 2005, 14:31

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