I think i'm in trouble sbc44uc boot gone?


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1

    Default I think i'm in trouble sbc44uc boot gone?

    I have had this board about 2 weeks and it is based around a Pic18f4550cpu together with picbasicPro. To download programs I have used the mplabs software via the usb connection etc. I have succeeded in getting the "HELLO WORLD" program to work in hyperterminal etc. I then tried to load a demo in pbp.bas and then to .hex then to pic4550. Unfortunately I ignored the warning about bootloader may be damaged when downloading program as I thought it was write protected, but it is not?. Nothing will download now, and all I get is access violation 00407880 in module etc.

    Has anyone any ideas please?

    Thanks

    ps I have an old epic plus serial programmer, the pic however is surface mount?.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Tom@Nottingham View Post
    I have had this board about 2 weeks and it is based around a Pic18f4550cpu together with picbasicPro. To download programs I have used the mplabs software via the usb connection etc. I have succeeded in getting the "HELLO WORLD" program to work in hyperterminal etc. I then tried to load a demo in pbp.bas and then to .hex then to pic4550. Unfortunately I ignored the warning about bootloader may be damaged when downloading program as I thought it was write protected, but it is not?. Nothing will download now, and all I get is access violation 00407880 in module etc.

    Has anyone any ideas please?

    Thanks

    ps I have an old epic plus serial programmer, the pic however is surface mount?.
    Yes, the PIC is surface mount, but a quick look at the website shows that the board has an ICSP connector built into it.
    If you think you screwed up the bootloader, you should be able to reprogram the bootloader via the epic programmer (assuming it supports the '4550 and assuming the company will send you the file you need). Besides that, bootloaders are generally fairly well protected against overwriting themselves.

    As far as the access violation goes, that sounds more like Windows/USB thing than a problem with the PIC board itself. I don't really see how the board could generate an 'access violation', unless the bootloader is screwed up in such a way that it can magically generate just the right messages for Windows...I don't see it happening though...
    I think I would clean out your PC, get rid of everything PIC related, and reload from scratch...first the SBC programmer software (if there is any), then MPLAB 8.00 (plus any patches), then PBP 2.50 + the patch, then MCS 3.0.0.5....Work from the bottom to the top. I think it's easiest that way.

  3. #3


    Did you find this post helpful? Yes | No

    Default sbc44uc boot

    Hi

    Apologies for my delay in replying. Story so far is - I tried to reset the sbc44 from other hard drive etc with fresh software but all to no avail. The program I had downloaded had somehow corrupted the boot loader and this meant that the program mode could not be entered and the led program mode indicator was not flashing as it should be.

    I then ordered a k8076 kit programmer in order to reprogram the boot loader into the sbc via the icsp connector. Unfortunately this programmer requires a proper serial port and Windows XP. My laptop has no serial port but has XP. I have an old Win 98 computer with a proper serial port that I was hoping to use. Also the programming software supplied only supports the 2550 pic not the 4550.

    While searching the internet I came across pc-prog (which you may be aware of) and noted it could work with my now-built serial programmer. This software is very good and I was able to reprogram the boot.hex bootloader program back into it and it then came back to life. (Software also works in Windows 98 and supports loads more pics.) Hopefully I can now continue where I left off.

    Many thanks.

Similar Threads

  1. 18F4550 boot loader and corruption
    By bradb in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 20th June 2009, 08:22
  2. Trouble with PIC12F683 - GP0 GP1 as inputs
    By erice1984 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 30th March 2009, 04:32
  3. Boot Loader with I2C memory
    By reid21 in forum General
    Replies: 1
    Last Post: - 18th September 2007, 08:04
  4. Trouble using int. osc. On 18f2455
    By KPDes in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 15th June 2007, 10:35
  5. How can I eraser a Boot Loader?
    By MauOrtega in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th June 2006, 13:52

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