Today 19:42
Forum: Website / Forum Issues
Starter: Lester
Views: 0
Replies: 14
Today 19:35
Forum: Proton Plus Compiler v3
Starter: Henk57
Views: 0
Replies: 7
Yesterday 20:40
Forum: New devices and techniques
Starter: normnet
Views: 861
Replies: 2
+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: UMC Loader85 days old

  1. #1
    Member Dave-S's Avatar
    Join Date
    Sep 2004
    Posts
    260
    Thumbs Up
    Received: 5
    Given: 0
    Total Downloaded
    268.81 MB

    0 Not allowed!

    Default UMC Loader

    Trying to use the MicroCode loader, but when I select either Loader or Loader Options from the "View" menu it just opens my Melabs Programmer.

    How do I setup and open the Loader?

    Thanks David

  2. #2
    Member Dave-S's Avatar
    Join Date
    Sep 2004
    Posts
    260
    Thumbs Up
    Received: 5
    Given: 0
    Total Downloaded
    268.81 MB

    0 Not allowed!

    Default Re: UMC Loader

    Have uninstalled, deleted Directory in Program files and PDS directory in Users, but still the same problem. On reinstalling it still found the last file I used where is this information stored, do I need to delete the registry entries to get a complete clean install?

    David

  3. #3
    Member Dave-S's Avatar
    Join Date
    Sep 2004
    Posts
    260
    Thumbs Up
    Received: 5
    Given: 0
    Total Downloaded
    268.81 MB

    0 Not allowed!

    Default Re: UMC Loader

    Having now reinstalled after clearing registry the boot loader opens OK.
    But I am unable to load the user programme, I get Reset required, but resetting pic it still does not program.

    I have put a program with serial in and serial out on the pins portc.6/portc.7 so as to proof the hard ware side and that works ok sending and receiving.

    I have loaded the Boot loader file for 20 mhz (set the Configs ) into the Pic 18F4550 and checked by reading back it is there ok.

    Monitoring the output from the loader there is something coming out but is gibberish.

    How does the Pic set the Baud rate?
    Have tried the three settings in the loader Auto/19200/115200.
    Is there a config setting I should use for Boot loading?
    I assume the PortC.6 and PortC.7 are the correct ones?
    I assume the Declare Bootloader = on, only goes in the user file?
    I use Melabs programmer for loading the boot file and set the configs in that, I assume it has loaded them?

    Any idea how to solve?

    Is there another Boot loader I could try, have tried Microchip AM1310 but cannot get that to open the file to load, file option is greyed out.

    Thanks David

  4. #4
    Senior Member AlbertoFS's Avatar
    Join Date
    Apr 2005
    Posts
    584
    Thumbs Up
    Received: 76
    Given: 2
    Total Downloaded
    1.93 GB

    0 Not allowed!

    Default Re: UMC Loader

    Hi David,
    you could test my configurable bootloader, it can be compiled with the PDS. There is no file prepared for this PIC, I could do it tonight because I'm going on a trip this morning.
    The reset of the PIC must be manual. See the article.
    It is very important to tell me what options you need. Loader for TOP or BOTTOM of memory, with password or not, and much more ...
    Regards
    Alberto
    [U]73's de Alberto ea3agv[/U]

  5. #5
    Member Dave-S's Avatar
    Join Date
    Sep 2004
    Posts
    260
    Thumbs Up
    Received: 5
    Given: 0
    Total Downloaded
    268.81 MB

    0 Not allowed!

    Default Re: UMC Loader

    Quote Originally Posted by AlbertoFS View Post
    Hi David,
    you could test my configurable bootloader, it can be compiled with the PDS. There is no file prepared for this PIC, I could do it tonight because I'm going on a trip this morning.
    The reset of the PIC must be manual. See the article.
    It is very important to tell me what options you need. Loader for TOP or BOTTOM of memory, with password or not, and much more ...
    Regards
    Alberto
    Many thanks for the reply.

    Yes I will try your bootloader, I thought the problem might be that the pic is in USB mode so running at 48mhz but have changed to just a programme with 20mhz, but still does not work, have tried a 16F877 pic and still just get "reset PIC" but does not work when reset is pressed.

    I require a 18F4550 bottom of memory, not worried about password at the moment, just want to get it working.

    Thanks David

  6. #6
    Senior Member AlbertoFS's Avatar
    Join Date
    Apr 2005
    Posts
    584
    Thumbs Up
    Received: 76
    Given: 2
    Total Downloaded
    1.93 GB

    0 Not allowed!

    Default Re: UMC Loader

    In effect the PIC18F4550 is USB and I need a little more time to study the config fuses that will be defined in the bootloader. The bootloader should operate at 48Mhz loading the HEX from the UART. Tomorrow I'm going to travel again for 2 days.
    [U]73's de Alberto ea3agv[/U]

  7. #7
    Member Dave-S's Avatar
    Join Date
    Sep 2004
    Posts
    260
    Thumbs Up
    Received: 5
    Given: 0
    Total Downloaded
    268.81 MB

    0 Not allowed!

    Default Re: UMC Loader

    Quote Originally Posted by AlbertoFS View Post
    In effect the PIC18F4550 is USB and I need a little more time to study the config fuses that will be defined in the bootloader. The bootloader should operate at 48Mhz loading the HEX from the UART. Tomorrow I'm going to travel again for 2 days.
    Yes I think that is the problem, it is running at 48Mhz and is why I get gibberish, there is no hex 48 in microcode.
    Thanks.

  8. #8
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    1,360
    Thumbs Up
    Received: 49
    Given: 124
    Total Downloaded
    2.37 GB

    0 Not allowed!

    Default Re: UMC Loader

    Dave, there are two UMC hex file for 4550 @ 48Mhz, called PLL_18F4550_04_48.hex and PLL_18F4550_20_48.hex,using 4Mhz and 20Mhz crystals. Do you need some other crystal?

    BTW There is also hex files for 24Mhz (low speed USB).
    George

  9. #9
    Member Dave-S's Avatar
    Join Date
    Sep 2004
    Posts
    260
    Thumbs Up
    Received: 5
    Given: 0
    Total Downloaded
    268.81 MB

    0 Not allowed!

    Default Re: UMC Loader

    Quote Originally Posted by towlerg View Post
    Dave, there are two UMC hex file for 4550 @ 48Mhz, called PLL_18F4550_04_48.hex and PLL_18F4550_20_48.hex,using 4Mhz and 20Mhz crystals. Do you need some other crystal?

    BTW There is also hex files for 24Mhz (low speed USB).
    Yes but it still comes up with the message "Reset required....." and resetting does not work.
    I think it may be the Melabs programmer that I am using to load the Bootloader file that is setting the wrong configs settings.
    I have tried using a 16F877, 18F4620, 18F452 and several 18F4550 and all give the same.
    If I join the two wires from the Max232 that go to the PIC TX/RX, it states unable to read PIC information, using serial commander it sends and receives like that ok. Monitoring the output from the Max232 to the PIC RX pin it gets "좋좋좋좋좋좋" A with acute over the top (hex 00C1) in Unicode, but the pic does not reply.

  10. #10
    Member Dave-S's Avatar
    Join Date
    Sep 2004
    Posts
    260
    Thumbs Up
    Received: 5
    Given: 0
    Total Downloaded
    268.81 MB

    0 Not allowed!

    Default Re: UMC Loader

    Quote Originally Posted by AlbertoFS View Post
    In effect the PIC18F4550 is USB and I need a little more time to study the config fuses that will be defined in the bootloader. The bootloader should operate at 48Mhz loading the HEX from the UART. Tomorrow I'm going to travel again for 2 days.
    Hi Alberto,

    Thanks for your help.
    I have read through the information for your bootloader, and there is one for the 18F4620 (no USB) and as I have one thought I would try that.
    In the Folder Dev_18F2525_18F4620 there is a bas file Dev_18F2525_18F4550_LSM_Code.bas, there is another folder Dev_18F4620 which has the file BL005_18F4620_LSM_Code.bas so I used this one, both seem to be the same.

    Altering it to 20MHZ I tried compiling but get errors.
    Line 777 _RamBanks - Protected Word
    Line 779 _BankAEnd - Protected Word
    Line !578 $error "For this PIC you must find the position of the RAM, Bank0, Bank1!" Does not say what the error is just "!" Think this is to do with above errors as within $ifdef _bankAend

    Line 1600 DummyArray_Length cannot find - think this due to Line 777/779 error

    Cannot find the files referred to Codetest_Uart1.bas, Codetest_UartX.bas not in the inc_files folder.

    Thanks David

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. UMC Loader Device.inc file info for 18f4331
    By Hornett in forum Absolute Beginners Section
    Replies: 1
    Last Post: 27th October 2016, 18:17
  2. UMC Bootloader for Pic18F25K80
    By Tim in forum Proton Plus Compiler v3
    Replies: 0
    Last Post: 23rd January 2016, 11:43
  3. [SOLVED !] UMC bootloader PIC16F1455
    By RayEllam in forum Proton Plus Compiler v3
    Replies: 2
    Last Post: 25th November 2015, 09:32
  4. UMC bootloader
    By ADLIN SYSTEMS in forum Mecanique - IDE
    Replies: 25
    Last Post: 3rd March 2013, 12:48
  5. about new UMC boot loader
    By jyb in forum Proton Plus Compiler v3
    Replies: 8
    Last Post: 29th May 2012, 16:16

Members who have read this thread : 45

Actions :  (Set Date)

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

Tags for this Thread

Posting Permissions

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