[solved] PINGUINO Bootleader.... thanks MR RUDI

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

User avatar
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 494 times
Been thanked: 188 times

Re: PINGUINO Bootleader

Postby Rudi » Sat May 21, 2016 12:32 am

hi mohssine,

Code: Select all

C:\Pinguino\v11>python pinguino.py
WARNING:root:gitpython is an optional dependence for Pinguino's Library Manager.
WARNING:root:pysvn is an optional dependence for Pinguino's Library Manager.
WARNING:root:hgapi is an optional dependence for Pinguino's Library Manager.
Pinguino IDE started!

C:\Pinguino\v11>python pinguino.py -h
usage: pinguino.py [-h] [-v] [-a] [-f FILENAME] [-l BOOTLOADER] [-x] [-g]
                   [-p2455] [-p4455] [-p2550] [-p4550] [-J] [-eq] [-c]
                   [-p25k50] [-p45k50] [-p26j50] [-p46j50] [-p27j53] [-p47j53]
                   [-p220] [-p250] [-p270] [-o] [-O] [-M] [-T] [-m] [-e] [-E]
                   [-u] [-U]

*** Pinguino IDE:Command line ***

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show Pinguino IDE version and exit
  -a, --author          show authors of this Pinguino IDE version and exit
  -f FILENAME, --filename FILENAME
                        filename to process
  -l BOOTLOADER, --boot BOOTLOADER
                        set bootloader option
  -x, --upload          upload code
  -g, --hex             print hex_file
  -p2455, --pinguino2455
                        compile code for PINGUINO2455 board
  -p4455, --pinguino4455
                        compile code for PINGUINO4455 board
  -p2550, --pinguino2550
                        compile code for PINGUINO2550 board
  -p4550, --pinguino4550
                        compile code for PINGUINO4550 board
  -J, --freejalduino    compile code for FREEJALDUINO board
  -eq, --picunoequo     compile code for PICUNO_EQUO board
  -c, --chrp3           compile code for CHRP3 board
  -p25k50, --pinguino25k50
                        compile code for PINGUINO25K50 board
  -p45k50, --pinguino45k50
                        compile code for PINGUINO45K50 board
  -p26j50, --pinguino26j50
                        compile code for PINGUINO26J50 board
  -p46j50, --pinguino46j50
                        compile code for PINGUINO46J50 board
  -p27j53, --pinguino27j53
                        compile code for PINGUINO27J53 board
  -p47j53, --pinguino47j53
                        compile code for PINGUINO47J53 board
  -p220, --pinguino32mx220
                        compile code for PINGUINO32MX220 board
  -p250, --pinguino32mx250
                        compile code for PINGUINO32MX250 board
  -p270, --pinguino32mx270
                        compile code for PINGUINO32MX270 board
  -o, --olimex440       compile code for PIC32_PINGUINO board
  -O, --olimex440OTG    compile code for PIC32_PINGUINO_OTG board
  -M, --olimex440Micro  compile code for PIC32_PINGUINO_MICRO board
  -T, --olimexT795      compile code for PIC32_PINGUINO_T795 board
  -m, --olimex220       compile code for PIC32_PINGUINO_220 board
  -e, --emperor460      compile code for EMPEROR460 board
  -E, --emperor795      compile code for EMPEROR795 board
  -u, --ubw460          compile code for UBW32_460 board
  -U, --ubw795          compile code for UBW32_795 board

C:\Pinguino\v11>python pinguino.py -h



you can play now cross with flowcode and pinguino by a batch file too.

have a nice time
best wishes
rudi ;-)

btw:
you can edit the *.py files and can write own debug messages like this:

Code: Select all

..

#*********************************************
import logging         # rudi debug 20.05.2016
logging.info("db1_ rudi comes into " )
import sys
#print  sys.argv[1:]
logging.info(sys.argv[1:])
#logging.info(*args, **kwaargs)
logging.info("db1_ rudi goes out " )
#**********************************************

..



you see this then in the log in the ide

debugPinguino2.png
These users thanked the author Rudi for the post:
mossine (Sat May 21, 2016 1:59 pm)
Rating: 5.26%
 

User avatar
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 494 times
Been thanked: 188 times

Re: PINGUINO Bootleader

Postby Rudi » Sat May 21, 2016 12:55 am

Final


here your solution from command line:
-f your.hex
-x ( means, that you want upload to the board )
-l v4 ( means, that your bootloader is version 4 )
-p2550 ( means that your board is a pic18F2550, my was in this debug work a PIC18F2550, so change to yours: -p4550 )

Code: Select all

C:\Pinguino\v11>python pinguino.py -f flow.hex -x -l v4 -p2550


and if you have press reset button before, then you fire your hex to the board
if not, then a message comes, that your board is not in bootloader mode, and you must press the reset.

and because we are in debug mode
here the debug outprint message
debug.txt


hope now solved for you
if yes, please edit your first post head line to [solved]
have phun with FC and your board!
if you have any question, please let me know.
i have many fun with this doing, thanks for the report of your problem

best wishes
rudi ;-)

yes you can use upload tool same way,
but i suggest to you, take the main modul,
this calls the upload tool and you can do more
perhabs you build a nice pinguino chip pack now for flowcode
after this - you can do it - all infos are in the thread.
you can use the pinguino compiler now..too..
but you have to work this out by your self
:mrgreen:
Last edited by Rudi on Sat May 21, 2016 2:43 am, edited 1 time in total.
These users thanked the author Rudi for the post:
mossine (Sat May 21, 2016 1:59 pm)
Rating: 5.26%
 

User avatar
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 494 times
Been thanked: 188 times

[solution] solved?

Postby Rudi » Sat May 21, 2016 2:38 am

hi


pinguino bootloader over flowcode and command line

here is the video to this solution
(without sound - but description in video)

EDIT:

if you get
"ERROR: bad file extension, it should be .pde or .hex"

see here:
Programmer Entry/Setup
Video Time 1:05 ...1:20

i have forget to say, i used a debug mode in the video
and have extended for debug reason the pinguino python file
like here

download/file.php?id=20273

and named the .hex or .pde or .c in the python file
so i have in the video used the "project" file without a extension
like .c or .hex

you do not need to do this complicated. the python file is ok.

you must simple change the part
"$(outdir)$(target)"
to
"$(outdir)$(target).hex"

debugx.png


so simple add .hex between ) and "
and all is ok for you :)

if you have question, please ask in the thread.
perhabs i will update the video - hope this helps
just in time.

i have edit the video description


best wishes
rudi ;-)

edit
http://saeedsolutions.blogspot.de/2012/05/how-to-write-configuration-bits-for-pic.html
Last edited by Rudi on Sat May 21, 2016 10:31 pm, edited 2 times in total.
These users thanked the author Rudi for the post:
mossine (Sat May 21, 2016 1:58 pm)
Rating: 5.26%
 

mossine
Posts: 35
Joined: Mon Jun 17, 2013 2:09 am
Has thanked: 12 times
Been thanked: 5 times
Contact:

Re: PINGUINO Bootleader

Postby mossine » Sat May 21, 2016 1:21 pm

Hi everyone ?
hi Mr Rudi ? haw are you ?
This is really much above what I was waiting for. .... really much .
especially when i was see the video . I did not expect direct programming through flowcode too, really cool thing and better.
Words can not express the extent of my thanks to you, and raises hopes for the revival of this way of programming ;
Really honest saying: " love it, change it or leave it" .
for this day ;;; i don't do nothing except work on your results.and make your guidance a real for my kits PInguino .
really you make me happy, you make me Laugh in the night :lol: :lol: :lol: i was see the result yesterday after midnight it's late times .
ihop to apply your guidance and win .
i'm going to starting
thank you Mr Rudi

here is my PInguino kit
Untitled - 1.png
Untitled - 1.png (1.01 MiB) Viewed 9186 times


6Sans titre.png
6Sans titre.png (685.42 KiB) Viewed 9186 times
These users thanked the author mossine for the post:
Rudi (Sat May 21, 2016 1:29 pm)
Rating: 5.26%
 

mossine
Posts: 35
Joined: Mon Jun 17, 2013 2:09 am
Has thanked: 12 times
Been thanked: 5 times
Contact:

Re: PINGUINO Bootleader

Postby mossine » Sat May 21, 2016 1:48 pm

as you know i'm not professional in programming.
i wasn't study the microcontroller in my profession,just electricité and electronique ,
i understand programming just with the self-education .
i have many projects but i try to open a way too real it, although little knowledge in programming ...i try , and try again .
we don't have any shop for electronic in my city , and the shop in cities near have little of components , old , and expensive prixs .
this is thing who loses determination .

:arrow: :arrow: but here is my Ebey ... alix .....etc.... ..Stores . those plaques in the rear :twisted: :mrgreen: :mrgreen: :mrgreen:

1Sans titre.png
1Sans titre.png (621.7 KiB) Viewed 9178 times


4Sans titre.png
4Sans titre.png (922.25 KiB) Viewed 9178 times


here is an programmes with bluetooth and android

2Sans titre.png
2Sans titre.png (408.55 KiB) Viewed 9178 times

i'm sorry i was did not pay attention see the thanks icon on the top,it's a good idea to evaluation
i hope nice times to you .
thank you Mr Rudi .
These users thanked the author mossine for the post:
Rudi (Sat May 21, 2016 2:04 pm)
Rating: 5.26%
 

User avatar
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 494 times
Been thanked: 188 times

Re: PINGUINO Bootleader

Postby Rudi » Sat May 21, 2016 6:56 pm

hi, thanks i am fine, hope you are fine too.

nice board! i will try it next time too.
my board is a standard pic18f2550 , i bought it from.. 'mexico' :mrgreen:

:mrgreen:

thank you for your report!
i had fun the last days with this, only the install procedure was to much annoying, because python was installed, and the pyUSB was downloaded, but not installed and break the install on win7/64.
so i had install from git and by the hand.


btw
if your pic4550 not run in the first moment, controll this:
disconnect the board from power supply ( usb disconnect )
then connect it again.
do not press the reset button
do a compile to chip
if the procedure breaks and info comes "no botloader found"
then press the reset ( bootloader waits now for you )
then compile to chip again
if the procedure flash, you know, your bootloader is ok..
if the procedure not flash and break again, then the bootloader fails..

if the bootloader is ok, the compile to chip proccess ok, but pic not run
then you must controll your fuses step by step
here is a nice documented to your pic4550
study it tooand you will come over the fuses, how they must set.

best wishes!
rudi ;-)

Code: Select all


-- fuses
pragma target PLLDIV        DIVIDE_BY_5_20MHZ_INPUT
pragma target CPUDIV        OSC1_OSC2_SRC_1_96MHZ_PLL_SRC_2
pragma target USBPLL        CLOCK_SRC_FROM_96MHZ_PLL_2
pragma target OSC           HS_PLL
pragma target FCMEN         DISABLED
pragma target IESO          DISABLED
pragma target PWRTE         DISABLED    -- power up timer
pragma target VREGEN        ENABLED     -- USB voltage regulator
pragma target VOLTAGE       V20         -- brown out voltage
pragma target BROWNOUT      DISABLED    -- no brownout detection
pragma target WDTPS         P32768      -- watch dog saler setting
pragma target WDT           DISABLED    -- no watchdog
pragma target CCP2MUX       pin_C1      -- CCP2 pin
pragma target PBADEN        DIGITAL     -- digital input port<0..4>
pragma target LPT1OSC       DISABLED    -- low power timer 1
pragma target MCLR          EXTERNAL    -- master reset on RE3
pragma target STVR          DISABLED    -- reset on stack over/under flow
pragma target LVP           DISABLED    -- no low-voltage programming
pragma target XINST         ENABLED     -- extended instruction set
pragma target BACKBUG       DISABLED    -- background debugging
pragma target CP_0          DISABLED    -- code block 0 not protected
pragma target CP_1          DISABLED    -- code block 1 not protected
pragma target CP_2          DISABLED    -- code block 2 not protected
pragma target CP_3          DISABLED    -- code block 3 not protected
pragma target CPB           DISABLED    -- bootblock code not write protected
pragma target CPD           DISABLED    -- eeprom code not write protected
pragma target WRT_0         DISABLED    -- table writeblock 0 not protected
pragma target WRT_1         DISABLED    -- table write block 1 not protected
pragma target WRT_2         DISABLED    -- table write block 2 not protected
pragma target WRT_3         DISABLED    -- table write block 3 not protected
pragma target WRTB          DISABLED    -- bootblock not write protected
pragma target WRTD          DISABLED    -- eeprom not write protected
pragma target WRTC          DISABLED    -- config not write protected
pragma target EBTR_0        DISABLED    -- table read block 0 not protected
pragma target EBTR_1        DISABLED    -- table read block 1 not protected
pragma target EBTR_2        DISABLED    -- table read block 2 not protected
pragma target EBTR_3        DISABLED    -- table read block 3 not protected
pragma target EBTRB         DISABLED    -- boot block not protected





Edit

btw:

a pic18F2550 flowcode project ( you can change to the pic18F4550 by project properties )
wow.fcfx


toggle portb from 0..255 and from 255..0 in a loop
compiled with boostC compiler
this is the hex:

Code: Select all


:020000040000FA
:040C000087EF06F084
:080C0800AEEF06F02A520000D5
:100C100001E11200FF0E00000000000000000000D3
:100C200000000000000000000000000000000000C4
:100C300000000000000000000000000000000000B4
:100C400000000000000000000000000000000000A4
:100C50000000000000000000000000000000000094
:100C6000000000000000000000000000FF0FD8A4FA
:100C7000D2D70000000000000000000000000000CB
:100C8000000000000000000000002A2EC3D7120060
:100C9000C26A0F0EC16E080E6F6EA09A370E2A6ED2
:100CA00006EC06F01B6A1C6A010E1C5C02E1000ED9
:100CB0001B5C11E21F502A6E936A2A50816E640EEB
:100CC0002A6E06EC06F01F5220521F2AD8B4202AA2
:100CD0001B4A1C2AE9D71D6A1E6A010E1E5C02E12E
:100CE000000E1D5CDFE21F502A6E936A2A50816E4F
:100CF000640E2A6E06EC06F0010E1F5C2A6E1F5869
:100D00000108205E2A501F6E1D4A1E2AE6D7D50E06
:100D1000056EC40E066EBB0E076EDC0E086E096A09
:100D20000A6A0B6A0C6A0D6A0E6A0F6A106A116A07
:100D3000126A136A146A246A256A196A1A6A266A88
:100D4000276A286A296A156A166A176A186A226A5F
:100D5000236A216A1F6A206A48EF06F0EACF01F091
:100D6000E9CF02F0F4CF03F0F3CF04F004C0F3FFB7
:0E0D700003C0F4FF02C0E9FF01C0EAFF11005A
:00000001FF




and this is a hex file compiled with the SDCC C Compiler in the pinguino ide

Code: Select all

:020000040000FA
:100C000045EF0BF000C0E5FF01C0E5FF02C0E5FFC6
:100C100003C0E5FF04C0E5FF05C0E5FFD350030BAB
:100C2000006E0050D8A491D0E56A300EE56E000E3B
:100C3000E56AE56AEDEC0AF0006E040EE126180E96
:100C40000016016AD89001320032D8900132003289
:100C5000D89001320032DC0E0024016E026A170EB9
:100C60000222036A000E032201C0F6FF02C0F7FF52
:100C700003C0F8FF0900F5CF01F0E56A300EE56E1C
:100C8000E56A010EE56EEDEC0AF0026E040EE12657
:100C90000F0E0216D80E0024036E046A170E0422EB
:100CA000056A000E052203C0F6FF04C0F7FF05C069
:100CB000F8FF0900F5CF00F0D8900232025006E0AC
:100CC0000250020A03E00250060A1FE1E56AE56AE3
:100CD000E56A0150E56EE56A7A0EE56E120EE56E84
:100CE000000EE56A97EC08F0016EF3CF02F0F4CF46
:100CF00003F0E9CF04F0080EE12604C0E9FF03C0C9
:100D0000F4FF02C0F3FF015063D0E56AE56AE56ACB
:100D10000050E56E050EE56EB80EE56ED80EE56E78
:100D2000000EE56AFFEC09F0006EF3CF01F0F4CF9E
:100D300002F0E9CF03F0080EE12603C0E9FF02C08C
:100D4000F4FF01C0F3FF005043D0D350030B010A5E
:100D500006E1E96AF46A800EF36EE86A39D0D3508E
:100D6000030B800F7E0F30E3D350E838070BE56AA2
:100D7000E56EE56A040EE56E9CEC0BF0006EF3CFB9
:100D800001F0040EE126026AE00E0026170E012291
:100D9000000E022200C0F6FF01C0F7FF02C0F8FFFC
:100DA0000900F5CF00F00900F5CF01F00900F5CFFB
:100DB00002F00900F5CF03F003C0E9FF02C0F4FF21
:100DC00001C0F3FF005004D0E96AF46AF36AE86AEC
:100DD000E4CF05F0E4CF04F0E4CF03F0E4CF02F079
:100DE000E4CF01F0E4CF00F01200D9CFE5FFE1CF6E
:100DF000D9FF00C0E5FF01C0E5FF02C0E5FF03C069
:100E0000E5FF04C0E5FF020EDBCF00F0030EDBCFF1
:100E100001F0140E0024026E036A180E0322046A05
:100E2000000E042202C0F6FF03C0F7FF04C0F8FF63
:100E30000900F5CF02F0030E025CD8B09AD0FA6A2E
:100E4000FB6A0234FA36E834FA36FC0B5C0FE56EC6
:100E50000E0EFA22000EFB22E450F96E34EF07F07A
:100E600061EF07F08EEF07F0015015E0000E00244F
:100E7000026E036A180E0322046A000E042202C0E6
:100E8000F6FF03C0F7FF04C0F8FF0900F5CF02F03A
:100E9000025089126ED0000E0024026E036A180EF2
:100EA0000322046A000E042202C0F6FF03C0F7FF0B
:100EB00004C0F8FF0900F5CF02F00250FF088916C0
:100EC00058D0015015E0000E0024026E036A180E7F
:100ED0000322046A000E042202C0F6FF03C0F7FFDB
:100EE00004C0F8FF0900F5CF02F002508A1241D089
:100EF000000E0024026E036A180E0322046A000E1C
:100F0000042202C0F6FF03C0F7FF04C0F8FF090087
:100F1000F5CF02F00250FF088A162BD0015015E0E1
:100F2000000E0024016E026A180E0222036A000EEF
:100F3000032201C0F6FF02C0F7FF03C0F8FF09005B
:100F4000F5CF01F001508B1214D0016A026A000E35
:100F50000026180E0122000E022200C0F6FF01C07A
:100F6000F7FF02C0F8FF0900F5CF00F00050FF08BE
:100F70008B16E4CF04F0E4CF03F0E4CF02F0E4CF2B
:100F800001F0E4CF00F0E4CFD9FF1200D9CFE5FFA4
:100F9000E1CFD9FF00C0E5FF01C0E5FF02C0E5FFDA
:100FA00003C0E5FF04C0E5FF020EDBCF00F0030E37
:100FB000DBCF01F0140E0024026E036A180E032228
:100FC000046A000E042202C0F6FF03C0F7FF04C04B
:100FD000F8FF0900F5CF02F0030E025CD8B09AD0FA
:100FE000FA6AFB6A0234FA36E834FA36FC0BFE0F72
:100FF000E56E0F0EFA22000EFB22E450F96E05EFAB
:1010000008F032EF08F05FEF08F0015015E0000E35
:101010000024026E036A180E0322046A000E0422E2
:1010200002C0F6FF03C0F7FF04C0F8FF0900F5CFC8
:1010300002F0025092126ED0000E0024026E036A7B
:10104000180E0322046A000E042202C0F6FF03C039
:10105000F7FF04C0F8FF0900F5CF02F00250FF08C7
:10106000921658D0015015E0000E0024026E036A5B
:10107000180E0322046A000E042202C0F6FF03C009
:10108000F7FF04C0F8FF0900F5CF02F002509312F9
:1010900041D0000E0024026E036A180E0322046A77
:1010A000000E042202C0F6FF03C0F7FF04C0F8FFE1
:1010B0000900F5CF02F00250FF0893162BD0015023
:1010C00015E0000E0024016E026A180E0222036A67
:1010D000000E032201C0F6FF02C0F7FF03C0F8FFB5
:1010E0000900F5CF01F00150941214D0016A026A90
:1010F000000E0026180E0122000E022200C0F6FF8C
:1011000001C0F7FF02C0F8FF0900F5CF00F0005062
:10111000FF089416E4CF04F0E4CF03F0E4CF02F02C
:10112000E4CF01F0E4CF00F0E4CFD9FF1200D9CF33
:10113000E5FFE1CFD9FF00C0E5FF01C0E5FF02C038
:10114000E5FF03C0E5FF04C0E5FF05C0E5FF06C0FD
:10115000E5FF07C0E5FF08C0E5FF09C0E5FF0AC0DD
:10116000E5FF0BC0E5FF0CC0E5FF0DC0E5FF020E7B
:10117000DBCF00F0030EDBCF01F0040EDBCF02F07B
:10118000050EDBCF03F0060EDBCF04F0070EDBCF3E
:1011900005F0080EDBCF06F0090EDBCF07F0D88094
:1011A00003AED890086A083608500FE0031C0C6E96
:1011B000021C0B6E011C0A6E001C096E092A0DE14F
:1011C0000A2A0BE10B4A0C2A08D000C009F001C022
:1011D0000AF002C00BF003C00CF0D88007AED89024
:1011E000006A003600500FE0071C0D6E061C036EEF
:1011F000051C026E041C016E012A0DE1022A0BE19E
:10120000034A0D2A08D004C001F005C002F006C050
:1012100003F007C00DF00D50E56E0350E56E02506F
:10122000E56E0150E56E0C50E56E0B50E56E0A5010
:10123000E56E0950E56EFFEC09F0016EF3CF02F0A8
:10124000F4CF03F0E9CF04F0080EE1260050081AAD
:10125000085016E0041C076E031C066E021C056E87
:10126000011C006E002A04E1052A02E1064A072A51
:1012700007C0E9FF06C0F4FF05C0F3FF005007D028
:1012800004C0E9FF03C0F4FF02C0F3FF0150E4CF44
:101290000DF0E4CF0CF0E4CF0BF0E4CF0AF0E4CF94
:1012A00009F0E4CF08F0E4CF07F0E4CF06F0E4CF94
:1012B00005F0E4CF04F0E4CF03F0E4CF02F0E4CF94
:1012C00001F0E4CF00F0E4CFD9FF1200D9CFE5FF61
:1012D000E1CFD9FF00C0E5FF01C0E5FF02C0E5FF97
:1012E00003C0E5FF020EDBCF00F0140E0024016EF8
:1012F000026A180E0222036A000E032201C0F6FFE2
:1013000002C0F7FF03C0F8FF0900F5CF01F0030E9C
:10131000015CD8B068D0FA6AFB6A0134FA36E83466
:10132000FA36FC0B340FE56E130EFA22000EFB2288
:10133000E450F96EA0EF09F0BCEF09F0D8EF09F026
:10134000000E0024016E026A180E0222036A000ECB
:10135000032201C0F6FF02C0F7FF03C0F8FF090037
:10136000F5CF01F080500116015003E0010E016E2F
:1013700001D0016A015038D0000E0024016E026ACB
:10138000180E0222036A000E032201C0F6FF02C0FB
:10139000F7FF03C0F8FF0900F5CF01F081500116F7
:1013A000015003E0010E016E01D0016A01501CD012
:1013B000016A026A000E0026180E0122000E0222A7
:1013C00000C0F6FF01C0F7FF02C0F8FF0900F5CF2B
:1013D00000F082500016005003E0010E006E01D0B4
:1013E000006A005001D0E86AE4CF03F0E4CF02F0D5
:1013F000E4CF01F0E4CF00F0E4CFD9FF1200D9CF61
:10140000E5FFE1CFD9FF00C0E5FF01C0E5FF02C065
:10141000E5FF03C0E5FF04C0E5FF05C0E5FF06C02A
:10142000E5FF07C0E5FF08C0E5FF09C0E5FF0AC00A
:10143000E5FF0BC0E5FF0CC0E5FF0DC0E5FF020EA8
:10144000DBCF00F0030EDBCF01F0040EDBCF02F0A8
:10145000050EDBCF03F0060EDBCF04F0070EDBCF6B
:1014600005F0080EDBCF06F0090EDBCF07F0086AA7
:10147000096A0A6A0B6A200E0C6E0350800BE8445E
:101480000D6E00500026013602360336085008263D
:1014900009360A360B360D50D8A4088007500B5C6D
:1014A00008E106500A5C05E10550095C02E10450C0
:1014B000085C09E30450085E0550095A06500A5AB0
:1014C00007500B5A00800C040D6E0DC00CF00D502F
:1014D000D4E103C0E9FF02C0F4FF01C0F3FF0050F4
:1014E000E4CF0DF0E4CF0CF0E4CF0BF0E4CF0AF042
:1014F000E4CF09F0E4CF08F0E4CF07F0E4CF06F042
:10150000E4CF05F0E4CF04F0E4CF03F0E4CF02F041
:10151000E4CF01F0E4CF00F0E4CFD9FF1200D9CF3F
:10152000E5FFE1CFD9FF00C0E5FF01C0E5FF02C044
:10153000E5FF03C0E5FF04C0E5FF05C0E5FF020EBF
:10154000DBCF00F0030EDBCF01F002EC06F0026E01
:10155000F3CF03F0F4CF04F0E9CF05F0D8900532D3
:10156000043203320232D89005320432033202329E
:10157000E56A010EE56E860EE56EA00EE56E05507D
:10158000E56E0450E56E0350E56E0250E56EFFEC2B
:1015900009F0026E080EE12600C004F001C005F05B
:1015A000FF0E002601220450051008E00250046ED0
:1015B000FD0E0426045014EC0CF0EED7E4CF05F039
:1015C000E4CF04F0E4CF03F0E4CF02F0E4CF01F085
:1015D000E4CF00F0E4CFD9FF1200D9CFE5FFE1CF8F
:1015E000D9FF00C0E5FF01C0E5FF02C0E5FF03C071
:1015F000E5FF04C0E5FF05C0E5FF06C0E5FF07C045
:10160000E5FF020EDBCF00F0030EDBCF01F0040E8E
:10161000DBCF02F0050EDBCF03F00250046E035067
:10162000056E066A076A0450F86E0150046E025097
:10163000056E0350066E076A0450F76E0050F66E92
:101640000900F5CF00F00900F5CF01F0026A015062
:10165000046E036A056A005003260550042204C084
:10166000F3FF0350E4CF07F0E4CF06F0E4CF05F03A
:10167000E4CF04F0E4CF03F0E4CF02F0E4CF01F0D4
:10168000E4CF00F0E4CFD9FF120011EEFFF021EE1D
:10169000FFF0F86AA68EA69CBF0EE96E0E0EEA6EEB
:1016A0000068ED6A0050FDE11A0EF66E190EF76E35
:1016B000000EF86E0900F5CF05F00900F5CF06F031
:1016C00034D00900F5CF00F00900F5CF01F0090092
:1016D000F5CF02F009000900F5CFE9FF0900F5CFC9
:1016E000EAFF090009000900F5CF03F00900F5CF72
:1016F00004F009000900F6CF07F0F7CF08F0F8CFA3
:1017000009F000C0F6FF01C0F7FF02C0F8FF03D0E8
:101710000900F5CFEEFF0306FBE20406F9E207C07D
:10172000F6FF08C0F7FF09C0F8FF0506CAE2060683
:10173000C8E254EC0CF0FFD7D9CFE5FFE1CFD9FFD9
:1017400000C0E5FF01C0E5FF02C0E5FF03C0E5FF03
:10175000020EDBCF00F0030EDBCF01F0040EDBCF77
:1017600002F0050EDBCF03F000500201046F0150C0
:10177000056F02500201066F0350076F020104510A
:1017800002010603F4CF01F0F3CF00F00050020194
:10179000086F0150096F0201045102010703F3CFE2
:1017A00000F00201055102010603F3CF01F00150E0
:1017B00000260201095100260050096F09C2F3FFFB
:1017C0000851E4CF03F0E4CF02F0E4CF01F0E4CF1E
:1017D00000F0E4CFD9FF1200020304060102030463
:1017E000127A000048E8010090D0030020A1070011
:1017F00040420F0080841E0000093D0000127A0064
:10180000010204081020408040800102040102040B
:101810000820100001010101010101010202020280
:101820000200000000000000E806E56E090E27EC4B
:101830000CF0E4500BE000D0E56E090E27EC0CF044
:1018400000D0E450000000D0E82EF6D71200E806E1
:101850000000E85007E000D000D000D000D0000029
:10186000E82EFAD71200D9CFE5FFE1CFD9FF00C0AB
:10187000E5FF01C0E5FF020EDBCF00F00050E56E92
:1018800066EC09F0016EE65201700150E56E005001
:10189000E56EF5EC06F0E652E652E4CF01F0E4CF57
:1018A00000F0E4CFD9FF1200D0B202D0930ED012D4
:1018B000D350030B800F7E0F02E3D3A4FED777EC47
:1018C0000CF094EC0CF085EC0CF069EC0CF0FDD70E
:1018D0001200060EE56E33EC0CF0E652010EE56EDA
:1018E000F40EE56E8FEC0AF0E652E6521200896AB9
:1018F0008A6A8B6A926A936A949094929494949C64
:10190000949E806A816A826A1200E56A020EE56E20
:10191000C6EC07F0E652E652120001003219000050
:101920000A020000010000000F0EC16E070EB46E27
:0419300012000000A1
:00000001FF


its a simple blinky ..
..and long code...

hope you can start.
let me know how you get on.
i am not allways online, but read time to time here.

perhabs this is helpfull for configuration bits / fuses

mossine
Posts: 35
Joined: Mon Jun 17, 2013 2:09 am
Has thanked: 12 times
Been thanked: 5 times
Contact:

Re: PINGUINO Bootleader

Postby mossine » Sun May 22, 2016 6:31 am

hi everyone .
hi Mr Rudi . haw are you?
some changes Have occurred for yesterday and today suddenly , today i'm going to drive car all today for travel.
I've managed to cut off some time ,and precise about flowcode merge : pinguino bootloader over flowcode and command line
i've trouble problems hastily:
1st i'm using flowcode V5
assembleur parametre :
-ld "C:\Program Files (x86)\Flowcode\v5\Tools\BoostC\lib" libc.pic16.lib rand.pic16.lib float.pic16.lib "%f.obj" -t PIC%p -d "%d" -p "%f"
change the pic 16 to pic18 and add : -rb 0xC00

programmateur addresse :
C:\Program Files (x86)\Flowcode\v5\Tools\PPP\PPPv3.exe
change to :
C:\Python27\python.exe
paramétre :
-cs 2 -chip PIC%p -nogui "%f.hex"
here the probleme . i was tired Quickly those :

C:\Pinguino-11\pinguino.py -f "%f" -x -l v4 -p4550
C:\Pinguino-11\\pinguino.py -f "$(outdir)$(target)" -x -l v4 -p4550




my folder for pinguino is
Sans .png
Sans .png (45.87 KiB) Viewed 9129 times


and this is the flowcode rapport :
itre.png
itre.png (22.63 KiB) Viewed 9129 times



thank you so much .
and i'm sorry for the Quickly show.
have nice time too.

User avatar
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 494 times
Been thanked: 188 times

Re: PINGUINO Bootleader

Postby Rudi » Sun May 22, 2016 2:48 pm

mossine wrote:programmateur addresse :
C:\Program Files (x86)\Flowcode\v5\Tools\PPP\PPPv3.exe
change to :
C:\Python27\python.exe
paramétre :
-cs 2 -chip PIC%p -nogui "%f.hex"
here the probleme . i was tired Quickly those :

C:\Pinguino-11\pinguino.py -f "%f" -x -l v4 -p4550
C:\Pinguino-11\\pinguino.py -f "$(outdir)$(target)" -x -l v4 -p4550


hi

in FC5 you must use the parameter %d for directory and a "\" between the folder and the target file
so short
FC6
Directoy = $(outdir)
File without extension = $(target)
example "$(outdir)$(target)"
c:\Testfolder\Targetfile
so use it like it is and add the extesion
"$(outdir)$(target).hex"
would be
c:\Testfolder\Targetfile.hex


FC5
Directory = %d
File without extension = %f
example: "%d%f"
c:\TestfolderTargetfile
so use a "\" between and add the extension
"%d\%f.hex"
would be
c:\Testfolder\Targetfile.hex

so simple change the parameter from FC6

Code: Select all

C:\Pinguino-11\pinguino.py -f "$(outdir)$(target).hex" -x -l v4 -p4550


to

Code: Select all

C:\Pinguino-11\pinguino.py -f "%d\%f.hex" -x -l v4 -p4550


and be happy :mrgreen:

best wishes
rudi ;-)

btw
you can create a batch for V6 and V5 together file like this:

mohsinneV5V6.bat

Code: Select all

@echo off
echo mohsinne V5 and V6 tool
echo *******************************
c:\pyhton27\python.exe c:\pinguino-11\pinguino.py -f "%1" -x -l -v4 -p4550
echo done!


and call it for "c:\python27\python.exe" as "program" then you call python from the batch
simple change the program call in V5 and in V6

Code: Select all

"c:\python27\python.exe"

to

Code: Select all

"c:\mohsinneV5V6.bat"

and
simple change the parameter in v5 to

Code: Select all

"%d\%f.hex"


and simple change the parameter in v6 to

Code: Select all

"$(outdir)$(target).hex"


and you have it for the future version V7 too..
simple change the parameter in v7 likewise to

Code: Select all

"[<futurefoldersyn>][<futuretargetsyn>.hex]"



thats all.

User avatar
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 494 times
Been thanked: 188 times

Re: PINGUINO Bootleader

Postby Rudi » Sun May 22, 2016 3:29 pm

last but not least ( perhabs i will make a video next time about this, but do not know, when i can do it)

have a look to this:
you can use a FTDI USB TTL and use example DTR for reset your board automatically..
simple connect a FTDI on usb and connect the DTR Line to your reset button for give him a LOW :)

EDIT: and because you an electronic profi, i do not must say, that you connect GND to GND to
between the devices ( TTL adapter and your pinguno device )
that there is no potential difference and pins goes high or low..

but i edit here the text for all,
that do not know:
please connect GND from TTL Adapter to your pinguino device too

Code: Select all

TTL Adapter           pinguino device
GND ---------><-----------GND
DTR ---------><-----------Reset(pin1)

btw
you can connect RTS to a reseter ic that break
the supply for short moment and let the device start by the TTL Adapter

study the code!
hope the base is clear.

Code: Select all

@echo off
REM * ************************************* *
REM * batch for pinguino bootloader
REM * it call first the switching ( reset )
Rem * then the uploader
REM * ____2016___________
REM //
REM | best wishes
REM | rudi ;-)
REM \\________May___22___
REM * * * * * * * * * * *
REM Change the Install Folder like you have installed pinguino

REM if python is not found
Rem write your full python folder
REM example
REM c:\python27\python.exe c:\pinguino\v11\PinguFlow.py

REM ****************************************************
python c:\pinguino\v11\PinguFlow.py
REM ****************************************************

REM pinguino.py -f c:\pinguino\v11\video\wow.hex -x -l v4 -p2550
REM OK____________________________________________
REM pinguino.py -f ./video/wow.hex -x -l v4 -p2550
REM **********************************************
REM we wait for the board 1 sec

REM **********************************************
sleep 1s
REM **********************************************

REM Parameters:
REM %1 means the -f for file
REM %2 means the filename from flowcode : $(outdir)$(target).hex
REM %3 means the -x for upload
REM $4 means the -l for loader
REM %5 means the Bootloaderversion example v4
REM %6 means your board example -p2250 or -p4450
REM you can change like you want or need
REM you must then change here and in Flowcode like you did it
REM python c:\pinguino\v11\pinguino.py -f %1 -x -l %2 %3
REM ****************************************************
REM we get all from flowcode
REM -f $(outdir)$(target).hex -x -l v4 -p2550
REM %1 -f
REM %2 $(outdir)$(target).hex
REM %3 -x
REM %4 -l
REM %5 v4
REM %6 -p2550

REM ****************************************************
python c:\pinguino\v11\pinguino.py %1 %2 %3 %4 %5 %6
REM ****************************************************

REM ----------------------------------------------------



mohssine.bat


and this

Code: Select all

# 22 May 2016
# this tool is free
# you can mod or add or change
# like you want

# use this for the pinguino bootloader and
# example an ftdi 232 or other
# connect the DTR line to your
# reset button
# EDIT: connect GND from TTL Adapter to your pinguino device too
# and update the batch file here with this edit text

# you can use the RTS line tool
# change the code then to RTS PIN


# edit hier your com port
# to your connected ftdi or other
# and your baudrate
# best wishes
# rudi ;-)

myComPort  = 'COM18'
myBaudRate =  115200

import serial
import sys
import time

def switch_to_pingulino_bootloader():
  print "switch to bootloader now"
  ser = serial.Serial(myComPort, myBaudRate, timeout=1)
  print("connected to: " + ser.name)
  ser.setDTR(False) # means, the pin goes low
#  ser.setRTS(False)
  time.sleep(0.05)
  ser.setDTR(True)  # means, the pin goes high
#  ser.setRTS(True)
#  time.sleep(0.05)
  time.sleep(0.05)
#  ser.timeout = 0.3
  ser.close
  time.sleep(0.800)
  print "done"
   
def itsme():
 print "here i am .."

# here you start
itsme()
switch_to_pingulino_bootloader()



delete the extension .txt from this file
because .py was not allowed to attach so i add simply the .txt
PinguFlow.py.txt



this is helpfull if you make 1000 boards on day automatically,
then you can generate a batch for industrially flashing
:mrgreen: :mrgreen: :mrgreen:

copy it to your pinguino folder likewise C:\pinguino-v11\
study it well by self. you must change it a little, play with the %1 %2 %3 %4 %5 %6
and study it, because if you call from a second py file , the %1 will be not -f
it will be the second py file and so on.. so you must then change to %2 %3 %4 %5 %6 %7
and so on..
becasue you are electronic profi and you will learn programming
its a good shool demo for learning py and batch for you :lol:

this you can use for flowcode v6.

if you want to use with v5 you must try to change it by self
i know - you can it do now :mrgreen: try it! i am sure you win.
but no support is given to this, because its a custom tip :mrgreen:
so please attack not the stuff with this custom doings :mrgreen: :mrgreen:
they have enough to do with our requests in future :mrgreen: :mrgreen:
btw: if your python is not in the environment path
you can change the pyhton to complete with folder like this

Code: Select all

c:\python27\python.exe


i wish you all the best in future!
have phun with flowcode and the pinguino doings!

best wishes
rudi ;-)
Last edited by Rudi on Mon May 23, 2016 5:55 pm, edited 3 times in total.

mossine
Posts: 35
Joined: Mon Jun 17, 2013 2:09 am
Has thanked: 12 times
Been thanked: 5 times
Contact:

Re: PINGUINO Bootleader

Postby mossine » Mon May 23, 2016 4:34 am

hi everyone
hi Mr Rudi . haw are you ?
becasue you are electronic profi and you will learn programming
its a good shool demo for learning py and batch for you :lol:

really i must take a time to read all this Treasure , really good .
thank you so much .
But unfortunately i can't run anything on my Pinguino. i choose your solution to use programme and upload with flowcode .
it's the best thing but i don't know what is the issue.??? :?: :?: :!: :!: :!: :!:
this is a shortcut to message compiler
Sans tire.png
Sans tire.png (19.94 KiB) Viewed 9084 times


sorry for that .i just try to compare the file, i understand your guidance .
i was try with other self-changes of parameters but nothing work , and i return all parameters to default.

)
i wish you all the best in future!
have phun with flowcode and the pinguino doings!

best wishes
rudi

thank you Mr Rudi
i hope that's to you too

best wishes too

User avatar
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 494 times
Been thanked: 188 times

Re: PINGUINO Bootleader

Postby Rudi » Mon May 23, 2016 5:03 am

hi

please post your compiled hex file.
there must be a mistake in the hex file.

i think fc wrote the configuration bits in the hex file at start and at the end.
do you use FC 6 or FC 5 yet?

can you post the compiled hex file please?
perhabs make a simple blinky or a small led blinky
not need to post your project hex file.

have a look:
FC 6
FC6_BUG_CONFIG.png


deactivate the config writing on download.
you must check it allways if you open the project in fc
think the uncheck is not save in next moment.

FC5 is same, think you find this in the project options..
i have no FC5 at my hand just in time, sorry.

please post your hex file
i will see on day what is wrong

thank you!
best wishes
rudi ;-)

User avatar
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 494 times
Been thanked: 188 times

Re: PINGUINO Bootleader

Postby Rudi » Mon May 23, 2016 5:07 am

btw
have tested and here runs with space fine,

but try:

Code: Select all

\test boot flow\


try to change the folder without spaces

Code: Select all

\test_boot_flow\


and try again

best wishes
rudi ;-)

edit:
http://forum.pinguino.cc/archive/index. ... -4691.html

which version you use of pinguino?
is this the latest release update?

User avatar
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 494 times
Been thanked: 188 times

Re: PINGUINO Bootleader

Postby Rudi » Tue May 24, 2016 5:41 am

hi mohssine,

how are you?
please post your hex.

In FC5 the design, compile, linking and flashing to the pinguino board is done too.

my settings:
Settings.png


you can add the -rb 0xC00 at start or end
effect is the same.


do not checked on the programmers doing

Why this programmer settings must be unchecked:
Because you use no Programmer, you use a Bootloader.
If you see in your hex file
you see at the end before the last line
the programmers configuration bits
and this are for the bootloader no valid "args"
so the bootloader breaks here.


my compile, link and flash to the pinguino board
FlasingE.PNG


post your hex then can i marked this for you
then you know why your bootloader is not working

for me this is solved, all infos are in the thread.
hope you win now :mrgreen:

FC6 would be a nice investigate:
its more functionally

best wishes
rudi ;-)

Solved

mossine
Posts: 35
Joined: Mon Jun 17, 2013 2:09 am
Has thanked: 12 times
Been thanked: 5 times
Contact:

Re: PINGUINO Bootleader

Postby mossine » Wed May 25, 2016 7:30 pm

really that's a bad thing on my computer .
you are give me the most thing and give me a treasure of informations .
It is impossible to not work my kits Pinguino .
i'm going to do quick format to my computer i think that the problems and install windows ...""" windows 10 " in morocco :| :| :lol:
for me this is solved, all infos are in the thread.
hope you win now :mrgreen:

i hop thats too .
here is my hex file :

Code: Select all

:040C000057EF06F0B4
:080C08007CEF06F0255200000C
:100C100001E11200F90E00000000000000000000D9
:100C200000000000000000000000000000000000C4
:100C3000000000000000FF0FD8A4EDD70000000066
:100C400000000000000000000000000000000000A4
:100C50000000000000000000000000000000252E41
:100C6000D9D71200FA0E256E06EC06F0FA0E256EA4
:100C700006EC06F0FA0E256E06EC06F0FA0E256E6E
:100C800006EC06F0242EEED712000F0EC16E080EF1
:100C90006F6EA09A956A8368010E246E32EC06F09E
:100CA000956A836A010E246E32EC06F0F3D7D50EF6
:100CB000056EC40E066EBB0E076EDC0E086E096A6A
:100CC0000A6A0B6A0C6A0D6A0E6A0F6A106A116A68
:100CD000126A136A146A1E6A1F6A196A1A6A206AFB
:100CE000216A226A236A156A166A176A186A1C6AD8
:100CF0001D6A1B6A45EF06F0EACF01F0E9CF02F06A
:100D0000F4CF03F0F3CF04F004C0F3FF03C0F4FF0B
:0A0D100002C0E9FF01C0EAFF110074
:00000001FF



thank you for your support. i never forget . i was talked about your help andhow support my problem without limit.
with some programmers or me be they think are Belong to the programmers community and they dont help any one .
think they will develop? i don't think that's As long as they do not draw the way to other beginners.
thank you Mr Rudi

User avatar
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 494 times
Been thanked: 188 times

Re: PINGUINO Bootleader

Postby Rudi » Wed May 25, 2016 11:01 pm

mossine wrote:
here is my hex file :

Code: Select all


:040C000057EF06F0B4
:080C08007CEF06F0255200000C
:100C100001E11200F90E00000000000000000000D9
:100C200000000000000000000000000000000000C4
:100C3000000000000000FF0FD8A4EDD70000000066
:100C400000000000000000000000000000000000A4
:100C50000000000000000000000000000000252E41
:100C6000D9D71200FA0E256E06EC06F0FA0E256EA4
:100C700006EC06F0FA0E256E06EC06F0FA0E256E6E
:100C800006EC06F0242EEED712000F0EC16E080EF1
:100C90006F6EA09A956A8368010E246E32EC06F09E
:100CA000956A836A010E246E32EC06F0F3D7D50EF6
:100CB000056EC40E066EBB0E076EDC0E086E096A6A
:100CC0000A6A0B6A0C6A0D6A0E6A0F6A106A116A68
:100CD000126A136A146A1E6A1F6A196A1A6A206AFB
:100CE000216A226A236A156A166A176A186A1C6AD8
:100CF0001D6A1B6A45EF06F0EACF01F0E9CF02F06A
:100D0000F4CF03F0F3CF04F004C0F3FF03C0F4FF0B
:0A0D100002C0E9FF01C0EAFF110074
:00000001FF





the config bits are missed mohssine
you must set your configuratin bits in the code
like
what is your frequenz ( 20 Mhz )
what are doing with PLL
what are with watchdog
and so on
you must set the bits..



my last info for this thread because you are not legal registered
read here
and here
and here


and because i like people ( i like you too ), mikrocontroller and flowcode
here my last tip to you
here studdy this

ask matrixTSL if they can help you with a longer trial , if you do not can afford.
but please, do not use bootleg versions, this is not fair mohssine.
i like you as human, but i do not like people if they use bootleg versions,
i am developer too, how you know.
now, you must go on allone.
all the best
rudi

last words that you can write "thank you rudy - i solved this now - and i will think about asking matrixTSL and do not use bootlegs version in future..."

test this:
add:
:020000040000FA
in the start of the file
that config are missing here.
if you want to know why i know this...
you must studdy assembler, hex, c code and more many years -
but nobody would teach without honorary the work
so please: do not use bootleg versions.
this is not good in this business
be a white developer and not grey zone!

Code: Select all


:020000040000FA
:040C000057EF06F0B4
:080C08007CEF06F0255200000C
:100C100001E11200F90E00000000000000000000D9
:100C200000000000000000000000000000000000C4
:100C3000000000000000FF0FD8A4EDD70000000066
:100C400000000000000000000000000000000000A4
:100C50000000000000000000000000000000252E41
:100C6000D9D71200FA0E256E06EC06F0FA0E256EA4
:100C700006EC06F0FA0E256E06EC06F0FA0E256E6E
:100C800006EC06F0242EEED712000F0EC16E080EF1
:100C90006F6EA09A956A8368010E246E32EC06F09E
:100CA000956A836A010E246E32EC06F0F3D7D50EF6
:100CB000056EC40E066EBB0E076EDC0E086E096A6A
:100CC0000A6A0B6A0C6A0D6A0E6A0F6A106A116A68
:100CD000126A136A146A1E6A1F6A196A1A6A206AFB
:100CE000216A226A236A156A166A176A186A1C6AD8
:100CF0001D6A1B6A45EF06F0EACF01F0E9CF02F06A
:100D0000F4CF03F0F3CF04F004C0F3FF03C0F4FF0B
:0A0D100002C0E9FF01C0EAFF110074
:00000001FF




and now i will read here from you, that you can flash the pinguino
..
and why this now runs, all stands here in the thread

all the best in your live
Last edited by Rudi on Thu May 26, 2016 8:19 am, edited 1 time in total.

User avatar
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 494 times
Been thanked: 188 times

Re: PINGUINO Bootleader

Postby Rudi » Wed May 25, 2016 11:16 pm

and because i know that you will do this.
studdy this, you will it need i am sure
you are going white developer now in future



Code: This is at the top of the file and
may be proceeded by an extended address line –
:020000040000FA

where 04 is the type for extended address.
Standard Intel Hex files can only address 64KB of data,
and extended addressing gets over this limitation by
adding extended address lines for every 64KB, for example

:020000040001F9 – 64KB marker
:020000040002F9 – 128KB marker

Some compilers include empty code lines
(all FF) but others omit these lines to save space.



i hope for you,
if no, you will never get more teaches in this information
because no people teach user with bootleg version(s)
so studdy this by yourself in future



Configuration bytes: These are stored at 300000h and are preceded by the extended address line
– :020000040030CA.

The correct format is 8 Fuse bytes and 6 Lock bytes all on the same line but different compilers
and assemblers have different methods of displaying these bytes.
Sometimes lock bytes are omitted if they are not set, sometimes the data is spread over multiple lines.
The standard format displays unused bits as 1 (e.g. FF for an unused byte) but on the PIC device they read as 0.
A programmer should mask unused bits to 0 so that the Configuration Byte will verify correctly.


mossine
Posts: 35
Joined: Mon Jun 17, 2013 2:09 am
Has thanked: 12 times
Been thanked: 5 times
Contact:

Re: PINGUINO Bootleader

Postby mossine » Thu May 26, 2016 6:56 pm

hi everyine .
hi Mr Rudi ?
haw are you?
ihop to be fine .
thank you Mr Rudi for your help .
i hope that is too ; to have a legal version and work with respecting Property rights , That ambition has every human
and because i like people ( i like you too ), mikrocontroller and flowcode
here my last tip to you

i know that you are a gentleman , Through your support and listening and method of writing,,
I hope that you understand what I meant in the other participating ,
have a nice day and nice time

mossine
Posts: 35
Joined: Mon Jun 17, 2013 2:09 am
Has thanked: 12 times
Been thanked: 5 times
Contact:

Re: PINGUINO Bootleader

Postby mossine » Fri May 27, 2016 5:28 am

hi Mr Rudi ? haw are you ?

it's solved in party : compile with flowcode and upload with Pinguino IDE that's after a quick reinstall on PInguino IDE . i was add : -rb 0xC00 . and unmark "configure the ship " that's all now .
i'm sure i'm going to have a legal version for all my programs.
maybe when i have a means. me too i don't like take something not my.
im sorry for all thats .. but the most . i know i can programme with sweet programme . it's called Flowcode .
and i can do my hobby after with a legal version .
i know you are stopped to answer in this thread . I appreciate the position . For as long you support me .
thank you Mr Rudi
all the best in your live Too

Sans titre.png
(356.72 KiB) Downloaded 3696 times

User avatar
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 494 times
Been thanked: 188 times

Re: PINGUINO Bootleader

Postby Rudi » Fri May 27, 2016 6:32 am

mossine wrote:hi Mr Rudi ? haw are you ?


thanks i'am fine, hope you are fine too.

mossine wrote:
it's solved in party : compile with flowcode and upload with Pinguino IDE that's after a quick
reinstall on PInguino IDE . i was add : -rb 0xC00 . and unmark "configure the ship " that's all now .



this sound is best music to the ear
you can go on now. your effort in searching for solution and
try by self have bring you the win.

please go to your first post and edit the headline
PINGUINO Bootleader to
[solved] PINGUINO Bootleader
if you want to do this.


mossine wrote:
i'm sure i'm going to have a legal version for all my programs.



this is the harmonic melody to the ear
this sound is positive and i am sure, you will this win too.
step by step. have your finnish point in the eye and if you
get this, start to the next point.

mossine wrote:
maybe when i have a means. me too i don't like take something not my.
im sorry for all thats .. but the most . i know i can programme with sweet programme . it's called Flowcode .
and i can do my hobby after with a legal version .



ok

mossine wrote:

i know you are stopped to answer in this thread .



because its solved :mrgreen:
you did it, you have all found what must to do.

mossine wrote:
I appreciate the position . For as long you support me .
thank you Mr Rudi
all the best in your live Too



it was obvious.
head up, mohssine, you have think about wrong doings, and this is the first step on feet to go in the right way.
in this business we must be "white zone" programmer, because users trust in us and
install software for private doings or business doings at they PC.
the same is in hardware devices, we programm this devices with head and heart.
if programmers are not thinking "white" then the programmer has no chance
to becomme a trust from user, community, ecommercy.
your name is your life-card, think on that.
now - studdy this config_bits, you will allways need this.

best wishes
rudi ;-)
These users thanked the author Rudi for the post:
mossine (Mon May 30, 2016 2:51 am)
Rating: 5.26%
 

mossine
Posts: 35
Joined: Mon Jun 17, 2013 2:09 am
Has thanked: 12 times
Been thanked: 5 times
Contact:

Re: PINGUINO Bootleader

Postby mossine » Mon May 30, 2016 2:53 am

hi everyone ?
hi Mr Rudi ? haw are you ?
thank you for all Mr Rudi ..
best wishes too .
mohssine
These users thanked the author mossine for the post:
Rudi (Fri Jul 15, 2016 3:11 pm)
Rating: 5.26%