+ Reply to Thread
Results 1 to 7 of 7

Thread: Problem with junebug

  1. #1
    jerryf Newbie
    Join Date
    Nov 2008
    Posts
    24

    Default Problem with junebug

    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. #2
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,690
    Blog Entries
    5

    Default

    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?
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  3. #3
    jerryf Newbie
    Join Date
    Nov 2008
    Posts
    24

    Default Your are right is does say PIC18F1320

    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. #4
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,690
    Blog Entries
    5

    Default

    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.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  5. #5
    jerryf Newbie
    Join Date
    Nov 2008
    Posts
    24

    Default

    I only have 4 sheets of paper, 8 pages for the junebug pic laboratory assembly instructions.

  6. #6
    jerryf Newbie
    Join Date
    Nov 2008
    Posts
    24

    Default

    I just stopped the pickit 2 software and had only swoardfish running and I still get the reset message.
    Jerry

  7. #7
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,690
    Blog Entries
    5

    Default

    Download the 12 page update for the manual on my site. Page 9 is all about Swordfish and it applies to all Junebugs.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

+ Reply to Thread

Similar Threads

  1. IR with junebug
    By AtomSoft in forum Micro Controllers
    Replies: 5
    Latest: 16th March 2008, 02:02 PM
  2. bra & WDT Junebug
    By AtomSoft in forum Micro Controllers
    Replies: 17
    Latest: 3rd March 2008, 02:51 PM
  3. JuneBug + LEDMUX
    By UTMonkey in forum Micro Controllers
    Replies: 22
    Latest: 10th December 2007, 08:53 PM
  4. My JuneBug is Here!
    By UTMonkey in forum Micro Controllers
    Replies: 15
    Latest: 7th December 2007, 06:25 PM
  5. Junebug INT2 problem
    By futz in forum Micro Controllers
    Replies: 9
    Latest: 15th November 2007, 02:32 AM

Tags for this Thread