16f1829 dont work

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
brandonb
Posts: 438
Joined: Mon Aug 29, 2011 12:26 am
Location: arizona
Has thanked: 175 times
Been thanked: 173 times
Contact:

16f1829 dont work

Post by brandonb »

compiled simple loop delay code and get code 32 , doesnt work in v4 either has same code, the bad thing is i created a fairly large project for this chip and i cant get it on it, the example below is only a quick file... this chip has the same programming pin configuration as the 16f690 and i have no problems with that chip in either version of fc
Attachments
1829 delay test.fcf
(6 KiB) Downloaded 284 times

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: 16f1829 dont work

Post by JonnyW »

Hello. I have no hardware here but that file compiles OK for me. Do you mean it wont download correctly, or run?

If you can post your '1826 delay test.msg.txt' file you are seeing, this contains the compiler output windows contents. We can have a look and see where it is failing.

Jonny

brandonb
Posts: 438
Joined: Mon Aug 29, 2011 12:26 am
Location: arizona
Has thanked: 175 times
Been thanked: 173 times
Contact:

Re: 16f1829 dont work

Post by brandonb »

File name: C:\Users\jes\Desktop\v5\1829 delay test.c
Title:
Description:
Generated by: Flowcode v5.1.0.0
Date: Saturday, February 18, 2012 16:02:36
Licence: Professional
Registered to: Brandon Baker
Licence key: UZTT5B
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Flowcode\v5\Tools\boostc\boostc_pic16_flowcode.exe -v -t PIC16F1829 "1829 delay test.c"
BoostC Optimizing C Compiler Version 7.04 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2011 Pavel Baranov
Copyright(C) 2004-2011 David Hobday

Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited


1829 delay test.c
Starting preprocessor: C:\PROGRA~1\Flowcode\v5\Tools\boostc\pp.exe "1829 delay test.c" -i C:\PROGRA~1\Flowcode\v5\Tools\boostc\include -d _PIC16F1829 -la -c2 -o "1829 delay test.pp" -v -d _BOOSTC -d _PIC16 -d _PIC16x -d _CHAR_INDEX


...............................

1829 delay test.c success

success
Return code = 0
Launching the linker/assembler...
C:\Program Files\Flowcode\v5\Tools\boostc\boostlink_pic.exe -ld "C:\Program Files\Flowcode\v5\Tools\BoostC\lib" libc.pic16.lib rand.pic16.lib float.pic16.lib "1829 delay test.obj" -t PIC16F1829 -d "C:\Users\jes\Desktop\v5" -p "1829 delay test"
BoostLink Optimizing Linker Version 7.03
http://www.sourceboost.com
Copyright(C) 2004-2011 Pavel Baranov
Copyright(C) 2004-2011 David Hobday


Warning unreferenced functions removed:
FC_CAL_Port_Out__x in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_IO.c
FC_CAL_Port_Out_DDR__x in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_IO.c
FC_CAL_Port_In__x in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_IO.c
FC_CAL_Port_In_DDR__x in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_IO.c
Wdt_Delay_S in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_Delay.c
Wdt_Delay_Ms in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_Delay.c
FCI_DELAYINT_US in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_Delay.c
FCI_DELAYINT_MS in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_Delay.c
FCI_DELAYINTWDT_MS in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_Delay.c
FCI_DELAYINT_S in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_Delay.c
FCI_DELAYINTWDT_S in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_Delay.c
FCI_GETCHAR in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_GETLENGTH in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_MIDSTRING in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_LEFTSTRING in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_RIGHTSTRING in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_TOSTRING in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_TOLOWER in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_TOUPPER in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_COMPARE in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_FLOAT_TO_STRING in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_NUMBER_TO_HEX in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_STRING_TO_INT in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_STRING_TO_FLOAT in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_STRREV in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_STRMOV in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_SHEAD in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
FCI_SCOPY in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_String.c
isinf in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_Float.c
flt_round in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_Float.c
flt_floor in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_Float.c
flt_ceil in: C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_Float.c

Building CASM file
Memory Usage Report
===================
RAM available:1024 bytes, used:32 bytes (3.2%), free:992 bytes (96.8%),
Heap size:336 bytes, Heap max single alloc:95 bytes
ROM available:8192 words, used:99 words (1.3%), free:8093 words (98.7%)



success
Return code = 0
Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\tools\PICkit2\pk2cmd.exe -PPIC16F1829 -F1829 delay test.hex -M -A5 -T -R -BC:\Program Files\Matrix Multimedia\Flowcode V4\tools\PICkit2\
Could not find device PIC16F1829.


Return code = 36
Flowcode was unable to transfer the flowchart to the microcontroller. Check the programmer options and physical connections.


FINISHED

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: 16f1829 dont work

Post by JonnyW »

OK, it is a problem with PICkit2 then. I'm afraid I cant help with this though there will be others who know much more about PICkit. Most likely Ben will be able to help out on Monday.

Have a good weekend,

Jonny

brandonb
Posts: 438
Joined: Mon Aug 29, 2011 12:26 am
Location: arizona
Has thanked: 175 times
Been thanked: 173 times
Contact:

Re: 16f1829 dont work

Post by brandonb »

thanks jonny for the promp responce on that, i think your on to something, when i opened mplad to check support on this device it had all yellow and red icons, on all the other chips i had green and red, looks like i would have to update mplab or pickit2, im probably not gonna deal with that chip, the last time i tried to update mplab it messed with fc5 for some reason... yellow means beta only, i'll reduce the size on my original fc file to fit on the 16f690

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: 16f1829 dont work

Post by saschech@gmx.de »

Hello brandonb

The MPLAB say`s if i want use these chip........no support

Pickcit3 , I self work with these from China(less in the price)
http://www.ebay.de/sch/i.html?_from=R40 ... Categories

Regards Wolfgang
Attachments
16F1829.gif
(35.54 KiB) Downloaded 1822 times

brandonb
Posts: 438
Joined: Mon Aug 29, 2011 12:26 am
Location: arizona
Has thanked: 175 times
Been thanked: 173 times
Contact:

Re: 16f1829 dont work

Post by brandonb »

thanks, curious, what would i have to do to get a pickit3 working with flowcode? does flowcode access the setting in mplab or in the pickit directly for programming, i would rather be limited to chips that i use rather than having to change flowcode settings everytime i program, i'll probably just stick with in the 20 pin range to using the 16f690 instead of the 16f1829 all though the features are better

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: 16f1829 dont work

Post by Benj »

Hello Brandon,

You can integrate the PICkit 3 into Flowcode the same as you can with the PICkit 2.

http://www.matrixmultimedia.com/support ... f=22&t=565

You could maybe try renaming your Flowcode file to contain no spaces but I think Wolfgang is correct about the device support on the v2.

DannyBerry
Posts: 29
Joined: Tue Aug 30, 2011 9:20 pm
Has thanked: 11 times
Been thanked: 1 time
Contact:

Re: 16f1829 dont work

Post by DannyBerry »

You could maybe try renaming your Flowcode file to contain no spaces but I think Wolfgang is correct about the device support on the v2.
I tried that for you Brandon..It still doesn't work. :(

Post Reply