Anda di halaman 1dari 3

Amicus with PIC18F25K22 and DS30 bootloader (how to)

i had trouble finding the info i needed on how to get the PIC18F25K22 to work on the amicus bord, now i got it working. now if others have the same problems as me i here do a small write up on how to get it going. what i did (Use this as a guide, at your own risk): bought the pic18f25k22 with DS30 Bootloader already on it from ciseco webshop in the UK here: http://shop.ciseco.co.uk/pic-18f25k2...and-22pf-caps/ thanks to iwalker for this info on where to get it with bootloader, link here: http://www.myamicus.co.uk/showthread...ull=1#post4607 removed the pic18f25k20 from the amicus board. fitted the new pic18f25k22 on the board. downloaded the newest DS30 bootloader program from here: http://mrmackey.noip.org/elektronik.../downloads.php extracted the files from the download and moved them to where i had the amicusIDE compiler installed, you dont need to save the files the same place as i did. then tell the amicusIDE program how and where to use the ds30 bootloader. open the amicusIDE program open the tap: View, Programmer options... in the new windows choose: Install New Programmer... select: create a custom programmer entry next Display Name: DS30 loader next Programmer Filename: ds30LoaderConsole.exe next Find automatically.. or if you like you can choose find manually... its in the ds30 loader\bin folder you saved earlier next Parameters: Code: --file=$hex-filename$ --Device=PIC18F25K22 --port=COM5 --baudrate=115200 --writef --non-interactive where i have COM5 in the code above you have to find out what COM port number your amicus is on your PC, you can see this in the device maneger when your amicus is connected, if you have PC. Finished now make sure the DS30 loader you just created is selected as the default programmer and hit OK.

now see if it works, here is a simple LED blink sample: Code: ' Amicus board with PIC18f25k22 and DS30 bootloader ' Device = 18F25K22 Low PORTB While 1 = 1 High PORTB.0 DelayMS 250 Low PORTB.0 DelayMS 250 ' Turn on LED PORTB.0 ' Turb off LED PORTB.0

Wend Compile and Program the first time you program the amicus after connecting power, you will see a small black windows flash, and the program is loaded on the pic. from the second time you try to program the the amicus after connecting power you will see the black windows open and seaching for bl.... , here you have to push the reset buttom on the amicus board and the program is loaded on the pic. i hope its the right place i post this. all comments are welcome. Reply With Quote 14th September 2012, 14:57#2 hex View Profile View Forum Posts Private Message View Product Entries View Articles Junior Member Join Date Dec 2011 Posts 2 Thank you very much i now have a PIC18F25K22 to work on the amicus bord.

Reply With Quote 25th December 2012, 04:45#3 Sivaguru View Profile View Forum Posts Private Message View Product Entries View Articles Junior Member Join Date Feb 2010 Posts 4
DS30 Bootloader

Thanks for the info. I have setup the PIC to boot via CP2102 USB to UART interface. The bootloader can be setup to bootup without pressing the reset button. All you need to is enable DTR reset as follows: --file=$hex-filename$ --Device=PIC18F25K22 --port=COM3 --baudrate=115200 --writef --non-interactive --reset-dtr This will enable reset by DTR and everything works well. Also programmer filename should be complete : ds30LoaderConsole.exe Again thanks for the most useful tip!!! Reply With Quote

Anda mungkin juga menyukai