![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
I purchased the junebug assembled. I pluged in the junebug into the usb port. I get a green led, and a yellow led I run the pickit 2 software (the first time something was uploaded or updated) i get message pickit 2 found and connected i flipped switches 12&3 on under PIC18F Configuration I see Device: pic18f2320 I copied the blink_1.bas into swordfish and clicked on the compile and program under the project menu. I get a message-loader message reset required please reset the target microcontroler in order to access the bootloader process I press the reset button with no effect. nothing flashes, message does not go away Has anybody got any ideas what i am doing wrong. Does anybody know where I can get instructions on using the junebug as development tool. | |
| |
| | #2 |
|
Are you sure it's 18F2320? It should be 18F1320. The reset button is only for the tutors 18F1320 and only really needed when the programmer is not using it. Can you post your program? | |
| |
| | #3 |
|
You are right it does say PIC18F1320 my code for swordfish.. // Name : BLINK_1.BAS Device = 18F1320 Clock = 4 // 4MHz clock Include "junebug.bas" Dim Count As Byte OSCCON = $62 // select 4MHz internal clock ADCON1 = %11110101 // digital I/O except RA1 & RA3 While True For Count = 0 To 6 LED(Count) // light LED(1..6) or none LED(0) DelayMS(300) // delay in 1000s of a second Next Wend // repeat forever End In swordfish I copied and pasted the code from the junebug page I click compile & program and I have the pickit2 running and I get the reset message I have a yellow and a red led lit on the junebug and I have switches 12&3 on Thanks Jerry | |
| |
| | #4 |
|
Swordfish can directly program PICs with the Junebug, page 9 of the assembly manual shows how. The PK2CMD.exe (plus manuals & more) can be downloaded here. http://www.microchip.com/stellent/id...cName=en023805 Also download from my downloads page the two (wish I had time to do more) JPUG issues. | |
| |
| | #5 |
|
I only have 4 sheets of paper, 8 pages for the junebug pic laboratory assembly instructions.
| |
| |
| | #6 |
|
I just stopped the pickit 2 software and had only swoardfish running and I still get the reset message. Jerry | |
| |
| | #7 |
|
Download the 12 page update for the manual on my site. Page 9 is all about Swordfish and it applies to all Junebugs.
| |
| |
|
| Tags |
| junebug, problem |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| IR with junebug | AtomSoft | Micro Controllers | 5 | 16th March 2008 03:02 PM |
| bra & WDT Junebug | AtomSoft | Micro Controllers | 17 | 3rd March 2008 03:51 PM |
| JuneBug + LEDMUX | UTMonkey | Micro Controllers | 22 | 10th December 2007 09:53 PM |
| My JuneBug is Here! | UTMonkey | Micro Controllers | 15 | 7th December 2007 07:25 PM |
| Junebug INT2 problem | futz | Micro Controllers | 9 | 15th November 2007 03:32 AM |