Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[resolu] bootloader bug limit
31-05-2015, 05:01 PM, (This post was last modified: 03-06-2015, 12:08 PM by speedjf37.)
#1
[resolu] bootloader bug limit
Bonjour,

J'utilise une carte a base 18f2550,booloader V4.14 et Pinguino 11.0 béta 3:

J'ai les derniéres versions uploader.py  et  uploaderVSC.py

J'ai constaté que:
Code size: 16316 download OK

Code size: 16318 download erreur

Donc dès que la taille dépasse 16316 impossible de télécharger. Angry

Ci joint log identique  avec une plus grande taille  

[OUT] Compilation terminée
[OUT] Code size: 18958 / 29696 bytes (63% used)
[OUT] 3.124 seconde passe
[DEBUG] Starting '__upload__' from 'qtgui.pinguino_api.pinguino_tools'
[DEBUG] Starting 'upload' from 'qtgui.pinguino_api.uploader.uploader'
[DEBUG] Looking for a Pinguino device ...
[DEBUG] Found device 0x04D8:0xFEAA
[DEBUG] Pinguino found ...
[DEBUG] OS is windows
[DEBUG] Configuration set
[DEBUG] Interface claimed
[DEBUG] Everything OK so far
[DEBUG]  - with PIC18f2550 (id=1240)
[DEBUG]  - with 29696 bytes free (29 KB)
[DEBUG]    from 0x00C00 to 0x08000
[DEBUG]  - with USB bootloader v4.14
[DEBUG] Uploading user program ...
[DEBUG] Traceback (most recent call last):
[DEBUG]   File 'C:\pinguino-11\qtgui\pinguino_api ools.py', line 23, in inset
[DEBUG]     ret = f(*args, **kwaargs)
[DEBUG]   File 'C:\pinguino-11\qtgui\pinguino_api\uploader\uploader.py', line 177, in upload
[DEBUG]     self.uploader.uploadDevice(self.hexfile, self.board)
[DEBUG]   File 'C:\pinguino-11\qtgui\pinguino_api\uploader\uploader8.py', line 514, in uploadDevice
[DEBUG]     status = self.writeHex(handle, filename, board)
[DEBUG]   File 'C:\pinguino-11\qtgui\pinguino_api\uploader\uploader8.py', line 430, in writeHex
[DEBUG]     self.eraseFlash(board.memstart, 255)
[DEBUG] TypeError: eraseFlash() takes exactly 4 arguments (3 given)
[DEBUG]
[DEBUG] Traceback (most recent call last):
[DEBUG]   File 'C:\pinguino-11\qtgui\pinguino_api ools.py', line 23, in inset
[DEBUG]     ret = f(*args, **kwaargs)
[DEBUG]   File 'C:\pinguino-11\qtgui\pinguino_api\pinguino_tools.py', line 228, in __upload__
[DEBUG]     result = filter(lambda line: not line.isspace(), result)
[DEBUG] TypeError: 'NoneType' object is not iterable
Reply
01-06-2015, 12:35 PM, (This post was last modified: 01-06-2015, 12:35 PM by regis.)
#2
RE: bootloader bug limit
Salut,

Peux-tu éditer le fichier uploader8.py et remplacer la ligne 430 par :

            self.eraseFlash(handle, board.memstart, 255)

Ça devrait aller mieux ...
It is easier to complain than it is to do, but it is better to do than it is to complain.
Reply
01-06-2015, 04:41 PM,
#3
RE: bootloader bug limit
Bonjour Regis,

Bien vu correction ok .

Merci

JF
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)