firmware update problem 1.017 -> 1.0xx

Discuss use it and firmware update

Re: firmware update problem 1.017 -> 1.0xx

Postby junk16 » Jan 6th, '17, 23:57

e-licktronic

Do you have an other *.HEX file to burn on your Atmega1284p ?


I found Nava_v1_018.hex on 'Nava v1.0 Firmware' topics.
viewtopic.php?f=25&t=864

I tried and verification error occur.

/usr/local/bin/avrdude -P /dev/cu.usbserial-A900abz5 -C ./bin/avrdude.conf -c avrisp -p m1284p -b 19200 -U flash:w:./Nava_v1_018.hex:i -v

Code: Select all

avrdude: Version 6.3, compiled on Mar 15 2016 at 21:26:45
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "./bin/avrdude.conf"
         User configuration file is "/Users/junk16/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.usbserial-A900abz5
         Using Programmer              : avrisp
         Overriding Baud Rate          : 19200
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x15
         AVR Part                      : ATmega1284P
         Chip Erase delay              : 55000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    10   128    0 no       4096    8      0  9000  9000 0xff 0xff
           flash         65    10   256    0 yes    131072  256    512  4500  4500 0xff 0xff
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00

         Programmer Type : STK500
         Description     : Atmel AVR ISP
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x15
         Hardware Version: 32767
         Firmware Version: 1.18
         Topcard         : Unknown
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : Off
         SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.05s

avrdude: Device signature = 0x1e9705 (probably m1284p)
avrdude: safemode: hfuse reads as DC
avrdude: safemode: efuse reads as FD
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "./Nava_v1_018.hex"
avrdude: writing flash (38692 bytes):

Writing | ################################################## | 100% 60.78s

avrdude: 38692 bytes of flash written
avrdude: verifying flash memory against ./Nava_v1_018.hex:
avrdude: load data flash data from input file ./Nava_v1_018.hex:
avrdude: input file ./Nava_v1_018.hex contains 38692 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 36.46s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0036
         0xb2 != 0x72
avrdude: verification error; content mismatch

avrdude: safemode: hfuse reads as DC
avrdude: safemode: efuse reads as FD
avrdude: safemode: Fuses OK (E:FD, H:DC, L:D6)

avrdude done.  Thank you.


following video, its record breadboard LED indicator during writing Nava_v1_018.hex.
red led indicate error, its blinking. its same wiring lockbit, any fuse bit, Nava_v1_020.hex and BootNava.hex.
https://youtu.be/QKMyHkk6CWg
junk16
 
Posts: 14
Joined: Jan 6th, '14, 14:12
Location: sapporo, japan

Re: firmware update problem 1.017 -> 1.0xx

Postby pistrix » Jan 7th, '17, 05:17

here's some maybe helpful information i get reported from nick gammon's chip detector sketch...:

Code: Select all
Atmega chip detector.
Written by Nick Gammon.
Version 1.19
Compiled on Jan  6 2017 at 23:34:35 with Arduino IDE 101.
Attempting to enter ICSP programming mode ...
Entered programming mode OK.
Signature = 0x1E 0x97 0x05
Processor = ATmega1284P
Flash memory size = 131072 bytes.
LFuse = 0xD6
HFuse = 0xDC
EFuse = 0xFD
Lock byte = 0xCF
Clock calibration = 0x9D
Bootloader in use: Yes
EEPROM preserved through erase: No
Watchdog timer always on: No
Bootloader is 2048 bytes starting at 1F800
pistrix
 
Posts: 66
Joined: Jan 6th, '14, 09:19

Re: firmware update problem 1.017 -> 1.0xx

Postby junk16 » Jan 7th, '17, 06:14

pistrix

thank you for sharing. I also used this sketch.
it seems value of Clock calibration is different from you. other values are same as yours.

Code: Select all
Atmega chip detector.
Written by Nick Gammon.
Version 1.19
Compiled on Jan  7 2017 at 14:45:59 with Arduino IDE 10800.
Attempting to enter ICSP programming mode ...
Entered programming mode OK.
Signature = 0x1E 0x97 0x05
Processor = ATmega1284P
Flash memory size = 131072 bytes.
LFuse = 0xD6
HFuse = 0xDC
EFuse = 0xFD
Lock byte = 0xCF
Clock calibration = 0x53
Bootloader in use: Yes
EEPROM preserved through erase: No
Watchdog timer always on: No
Bootloader is 2048 bytes starting at 1F800

Bootloader:

1F800: 0x0C 0x94 0x46 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC
1F810: 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC
1F820: 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC
1F830: 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC
1F840: 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC
1F850: 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC
1F860: 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC
1F870: 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC
1F880: 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x0C 0x94 0x66 0xFC 0x11 0x24 0x1F 0xBE
1F890: 0xCF 0xEF 0xD0 0xE4 0xDE 0xBF 0xCD 0xBF 0x11 0xE0 0xA0 0xE0 0xB1 0xE0 0xE2 0xE5
1F8A0: 0xFD 0xEF 0x01 0xE0 0x0B 0xBF 0x02 0xC0 0x07 0x90 0x0D 0x92 0xA6 0x30 0xB1 0x07
1F8B0: 0xD9 0xF7 0x1B 0xBE 0x14 0xE0 0xA6 0xE0 0xB1 0xE0 0x01 0xC0 0x1D 0x92 0xA7 0x31
1F8C0: 0xB1 0x07 0xE1 0xF7 0x0E 0x94 0x77 0xFE 0x0C 0x94 0xA7 0xFE 0x0C 0x94 0x00 0xFC
1F8D0: 0x98 0x2F 0x80 0x91 0xC8 0x00 0x85 0xFF 0xFC 0xCF 0x90 0x93 0xCE 0x00 0x08 0x95
1F8E0: 0xEF 0x92 0xFF 0x92 0x0F 0x93 0x1F 0x93 0xEE 0x24 0xFF 0x24 0x87 0x01 0x13 0xC0
1F8F0: 0x08 0x94 0xE1 0x1C 0xF1 0x1C 0x01 0x1D 0x11 0x1D 0x81 0xE0 0xE8 0x16 0x82 0xE1
1F900: 0xF8 0x06 0x8A 0xE7 0x08 0x07 0x80 0xE0 0x18 0x07 0x28 0xF0 0xE0 0x91 0x0C 0x01
1F910: 0xF0 0x91 0x0D 0x01 0x09 0x95 0x80 0x91 0xC8 0x00 0x87 0xFF 0xE9 0xCF 0x80 0x91
1F920: 0xCE 0x00 0x1F 0x91 0x0F 0x91 0xFF 0x90 0xEF 0x90 0x08 0x95 0x40 0xE0 0x27 0xE0
1F930: 0x30 0xE0 0x83 0xB1 0x90 0xE0 0x80 0x74 0x90 0x70 0x56 0xE0 0x95 0x95 0x87 0x95
1F940: 0x5A 0x95 0xE1 0xF7 0x02 0x2E 0x02 0xC0 0x88 0x0F 0x99 0x1F 0x0A 0x94 0xE2 0xF7
1F950: 0x48 0x2B 0x2F 0x9A 0x2F 0x98 0x21 0x50 0x30 0x40 0x8F 0xEF 0x2F 0x3F 0x38 0x07
1F960: 0x41 0xF7 0x84 0x2F 0x08 0x95 0x38 0x2F 0x20 0xE0 0x90 0xE8 0x89 0x2F 0x83 0x23
1F970: 0x89 0x17 0x11 0xF4 0x2D 0x9A 0x01 0xC0 0x2D 0x98 0x2F 0x9A 0x2F 0x98 0x2F 0x5F
1F980: 0x28 0x30 0x11 0xF0 0x96 0x95 0xF2 0xCF 0x08 0x95 0x1F 0x93 0xCF 0x93 0xDF 0x93
1F990: 0x18 0x2F 0xC0 0xE9 0xD1 0xE0 0x31 0xC0 0x2C 0x98 0x8F 0xEF 0x0E 0x94 0xB3 0xFC
1F9A0: 0x8F 0xEF 0x0E 0x94 0xB3 0xFC 0x8F 0xEF 0x0E 0x94 0xB3 0xFC 0x8F 0xEF 0x0E 0x94
1F9B0: 0xB3 0xFC 0x8F 0xEF 0x0E 0x94 0xB3 0xFC 0x2C 0x9A 0x88 0xEE 0x93 0xE0 0xFE 0x01
1F9C0: 0x31 0x97 0xF1 0xF7 0x01 0x97 0xD9 0xF7 0x2C 0x98 0x80 0xE0 0x0E 0x94 0xB3 0xFC
1F9D0: 0x80 0xE0 0x0E 0x94 0xB3 0xFC 0x80 0xE0 0x0E 0x94 0xB3 0xFC 0x80 0xE0 0x0E 0x94
1F9E0: 0xB3 0xFC 0x80 0xE0 0x0E 0x94 0xB3 0xFC 0x2C 0x9A 0x88 0xEE 0x93 0xE0 0xFE 0x01
1F9F0: 0x31 0x97 0xF1 0xF7 0x01 0x97 0xD9 0xF7 0x11 0x50 0x11 0x23 0x69 0xF6 0xDF 0x91
1FA00: 0xCF 0x91 0x1F 0x91 0x08 0x95 0x5C 0x9A 0x40 0xE0 0x27 0xE0 0x30 0xE0 0x83 0xB1
1FA10: 0x90 0xE0 0x80 0x74 0x90 0x70 0x66 0xE0 0x95 0x95 0x87 0x95 0x6A 0x95 0xE1 0xF7
1FA20: 0x02 0x2E 0x02 0xC0 0x88 0x0F 0x99 0x1F 0x0A 0x94 0xE2 0xF7 0x48 0x2B 0x2F 0x9A
1FA30: 0x2F 0x98 0x21 0x50 0x30 0x40 0x8F 0xEF 0x2F 0x3F 0x38 0x07 0x41 0xF7 0x5C 0x98
1FA40: 0x84 0x2F 0x08 0x95 0x1F 0x93 0x18 0x2F 0x2C 0x98 0x89 0x2F 0x0E 0x94 0xB3 0xFC
1FA50: 0x81 0x2F 0x0E 0x94 0xB3 0xFC 0x80 0xE0 0x0E 0x94 0xB3 0xFC 0x80 0xE0 0x0E 0x94
1FA60: 0xB3 0xFC 0x80 0xE0 0x0E 0x94 0xB3 0xFC 0x2C 0x9A 0x1F 0x91 0x08 0x95 0xAF 0x92
1FA70: 0xBF 0x92 0xCF 0x92 0xDF 0x92 0xEF 0x92 0xFF 0x92 0x0F 0x93 0x1F 0x93 0xCF 0x93
1FA80: 0xDF 0x93 0x5B 0x01 0x6C 0x01 0x7F 0xB7 0xF8 0x94 0xF9 0x99 0xFE 0xCF 0x83 0xE0
1FA90: 0xF5 0x01 0xC0 0x92 0x5B 0x00 0x80 0x93 0x57 0x00 0xE8 0x95 0x07 0xB6 0x00 0xFC
1FAA0: 0xFD 0xCF 0xEA 0x01 0xEE 0x24 0xFF 0x24 0x87 0x01 0x61 0xE0 0xA8 0x01 0x97 0x01
1FAB0: 0x2A 0x0D 0x3B 0x1D 0x4C 0x1D 0x5D 0x1D 0xB9 0x81 0xA0 0xE0 0x88 0x81 0x90 0xE0
1FAC0: 0x8A 0x2B 0x9B 0x2B 0x0C 0x01 0xF9 0x01 0x40 0x93 0x5B 0x00 0x60 0x93 0x57 0x00
1FAD0: 0xE8 0x95 0x11 0x24 0x22 0x96 0x22 0xE0 0x30 0xE0 0x40 0xE0 0x50 0xE0 0xE2 0x0E
1FAE0: 0xF3 0x1E 0x04 0x1F 0x15 0x1F 0x30 0xE0 0xE3 0x16 0x31 0xE0 0xF3 0x06 0x30 0xE0
1FAF0: 0x03 0x07 0x30 0xE0 0x13 0x07 0xD1 0xF6 0x85 0xE0 0xF5 0x01 0xC0 0x92 0x5B 0x00
1FB00: 0x80 0x93 0x57 0x00 0xE8 0x95 0x07 0xB6 0x00 0xFC 0xFD 0xCF 0x81 0xE1 0x80 0x93
1FB10: 0x57 0x00 0xE8 0x95 0x7F 0xBF 0xDF 0x91 0xCF 0x91 0x1F 0x91 0x0F 0x91 0xFF 0x90
1FB20: 0xEF 0x90 0xDF 0x90 0xCF 0x90 0xBF 0x90 0xAF 0x90 0x08 0x95 0x6F 0x92 0x7F 0x92
1FB30: 0x8F 0x92 0x9F 0x92 0xBF 0x92 0xCF 0x92 0xDF 0x92 0xEF 0x92 0xFF 0x92 0x0F 0x93
1FB40: 0x1F 0x93 0xDF 0x93 0xCF 0x93 0x00 0xD0 0xCD 0xB7 0xDE 0xB7 0x10 0x92 0x06 0x01
1FB50: 0x10 0x92 0x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x81 0x98 0x2B 0x90 0x83 0x8F 0xEF 0x88 0x16 0x91 0x04 0x09 0xF0 0x08 0xF4
1FC30: 0xB9 0x0E 0x08 0x94 0x81 0x1C 0x91 0x1C 0x03 0xC0 0x92 0x95 0x90 0x7F 0x90 0x83
1FC40: 0x0F 0x5F 0x1F 0x4F 0xFB 0x2C 0x9B 0xCF 0x97 0x3F 0xE1 0xF7 0x99 0x81 0x9F 0x37
1FC50: 0x29 0xF4 0x8A 0x81 0x88 0x23 0x11 0xF4 0x01 0x2B 0xC9 0xF1 0x81 0xE0 0x88 0x16
1FC60: 0x81 0xE0 0x98 0x06 0x09 0xF0 0x87 0xCF 0x9E 0x37 0x09 0xF0 0x84 0xCF 0x8A 0x81
1FC70: 0x88 0x23 0x09 0xF0 0x80 0xCF 0xF0 0x90 0x12 0x03 0xFB 0x14 0x09 0xF0 0x7B 0xCF
1FC80: 0x60 0x91 0x06 0x01 0x70 0x91 0x07 0x01 0x80 0x91 0x08 0x01 0x90 0x91 0x09 0x01
1FC90: 0x42 0xE1 0x52 0xE0 0x0E 0x94 0x37 0xFD 0x80 0x91 0x06 0x01 0x90 0x91 0x07 0x01
1FCA0: 0xA0 0x91 0x08 0x01 0xB0 0x91 0x09 0x01 0x80 0x50 0x9F 0x4F 0xAF 0x4F 0xBF 0x4F
1FCB0: 0x80 0x93 0x06 0x01 0x90 0x93 0x07 0x01 0xA0 0x93 0x08 0x01 0xB0 0x93 0x09 0x01
1FCC0: 0x08 0x94 0xC1 0x1C 0xD1 0x1C 0xC6 0x01 0x0E 0x94 0x22 0xFD 0x55 0xCF 0x0F 0x90
1FCD0: 0x0F 0x90 0xCF 0x91 0xDF 0x91 0x1F 0x91 0x0F 0x91 0xFF 0x90 0xEF 0x90 0xDF 0x90
1FCE0: 0xCF 0x90 0xBF 0x90 0x9F 0x90 0x8F 0x90 0x7F 0x90 0x6F 0x90 0x08 0x95 0x84 0xB7
1FCF0: 0x14 0xBE 0x80 0x91 0x60 0x00 0x88 0x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xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF

MD5 sum of bootloader = 0xCE 0x97 0x22 0x9C 0x48 0xC5 0x03 0xEF 0xAD 0xAD 0x84 0x08 0x40 0x4A 0xA7 0x0A
Bootloader MD5 sum not known.

First 256 bytes of program memory:

00: 0x0C 0x94 0xF2 0x00 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x1D 0x01
10: 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x1D 0x01
20: 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x1D 0x01
30: 0x0C 0x94 0x1D 0x01 0x0C 0x94 0xB2 0x34 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x1D 0x01
40: 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x0D 0x42 0x0C 0x94 0x1D 0x01
50: 0x0C 0x94 0xC8 0x43 0x0C 0x94 0x5E 0x44 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x1D 0x01
60: 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x1D 0x01 0x0C 0x94 0xC5 0x39 0x0C 0x94 0x1D 0x01
70: 0x0C 0x94 0x01 0x44 0x0C 0x94 0xAB 0x44 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x1D 0x01
80: 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x1D 0x01 0x0C 0x94 0x1D 0x01 0x54 0x52 0x47 0x00
90: 0x20 0x20 0x20 0x00 0x20 0x48 0x54 0x00 0x52 0x49 0x4D 0x00 0x48 0x43 0x4C 0x00
A0: 0x20 0x20 0x20 0x00 0x52 0x49 0x44 0x00 0x43 0x52 0x48 0x00 0x20 0x42 0x44 0x00
B0: 0x20 0x53 0x44 0x00 0x20 0x4C 0x54 0x00 0x20 0x4D 0x54 0x00 0x41 0x43 0x43 0x00
C0: 0x45 0x58 0x54 0x00 0x20 0x43 0x48 0x00 0x20 0x4F 0x48 0x00 0x2D 0x33 0x00 0x2D
D0: 0x32 0x00 0x2D 0x31 0x00 0x2B 0x30 0x00 0x2B 0x31 0x00 0x2B 0x32 0x00 0x2B 0x33
E0: 0x00 0x2B 0x34 0x00 0x20 0x43 0x00 0x43 0x23 0x00 0x20 0x44 0x00 0x44 0x23 0x00
F0: 0x20 0x45 0x00 0x20 0x46 0x00 0x46 0x23 0x00 0x20 0x47 0x00 0x47 0x23 0x00 0x20

Programming mode off.

junk16
 
Posts: 14
Joined: Jan 6th, '14, 14:12
Location: sapporo, japan

Re: firmware update problem 1.017 -> 1.0xx

Postby junk16 » Jan 7th, '17, 14:58

e-licktronic, pistrix

I have good (or bad) news.
I can write Nava Boot and 1.020 hex on ATMEGA1284P which were attached on YOCTO.
I strongly suspect this issue cause by Chip.

Image
junk16
 
Posts: 14
Joined: Jan 6th, '14, 14:12
Location: sapporo, japan

Re: firmware update problem 1.017 -> 1.0xx

Postby pistrix » Jan 8th, '17, 00:12

my theory is the problem chips have had their clock timing reset from full swing oscillator to expect something specific (such as an 8 mhz resonator)

our lock fusebits are stuck at 0x0f which locks the writing of the bootloader memory, it needs to be 0x3f...but it can't be changed because it needs the specific clock timing to be programmed

since there is a 16 mhz oscillator in circuit with the 1284p on the nava, i think it has to be removed and replaced with whatever clock timing it is looking for, so so that it's fuses can be corrected -- or the 1284p has to be programmed on a breadboard, and fed the correct clock timing..after the fuses are corrected then the programming should work.

however i don't know what clock timing my 1284p is looking for..gammon's chip detector says 0x9d?
pistrix
 
Posts: 66
Joined: Jan 6th, '14, 09:19

Re: firmware update problem 1.017 -> 1.0xx

Postby junk16 » Jan 8th, '17, 01:25

I assume We need to take hvsp to reset fuse bit.
junk16
 
Posts: 14
Joined: Jan 6th, '14, 14:12
Location: sapporo, japan

Re: firmware update problem 1.017 -> 1.0xx

Postby e-licktronic » Jan 8th, '17, 05:18

pistrix wrote:my theory is the problem chips have had their clock timing reset from full swing oscillator to expect something specific (such as an 8 mhz resonator)

our lock fusebits are stuck at 0x0f which locks the writing of the bootloader memory, it needs to be 0x3f...but it can't be changed because it needs the specific clock timing to be programmed

since there is a 16 mhz oscillator in circuit with the 1284p on the nava, i think it has to be removed and replaced with whatever clock timing it is looking for, so so that it's fuses can be corrected -- or the 1284p has to be programmed on a breadboard, and fed the correct clock timing..after the fuses are corrected then the programming should work.

however i don't know what clock timing my 1284p is looking for..gammon's chip detector says 0x9d?


When AVRdue erase the chip (first command line) all fuses set as default. (lock fuse = 0x3F)

Junk16,

I think Arduino +5V PSU can not draw as much current for all Nava +5v buses. That's why you could burn your µC on the Yocto.

pistrix,

Try to power your Nava via his own PSU and not powered by the Arduino. Don't forget to unplug +5V rail on the ICSP connector.

Best regards,
e-licktornic
Best regards,
e-licktronic
User avatar
e-licktronic
Site Admin
 
Posts: 552
Joined: Feb 16th, '11, 13:36

Re: firmware update problem 1.017 -> 1.0xx

Postby junk16 » Jan 8th, '17, 05:46

[EDIT] described Behaviour of chip erase

e-licktronic

I have tried to burn ATMEGA1284P which is included Nava kit, using both Nava main board and Yocto main board.
ATMEGA1284P which was included Nava kit is always fail.
ATMEGA1284P which was included Yocto kit is success every time.

so, I assume ATMEGA1284P which was included Nava kit is something wrong.
I tried to erase chip memory by following command, but its maybe fail on ATMEGA1284P which was included Nava kit,
because LCD display Nava start up.
in case of chip erase of success, LCD do not display anything.

Code: Select all
/usr/local/bin/avrdude -P /dev/cu.usbserial-A900abz5 -C ./bin/avrdude.conf -c avrisp -p m1284p -b 19200 -e -u -V


Regards.
junk16
 
Posts: 14
Joined: Jan 6th, '14, 14:12
Location: sapporo, japan

Re: firmware update problem 1.017 -> 1.0xx

Postby pistrix » Jan 8th, '17, 22:47

e-licktronic wrote:pistrix,

Try to power your Nava via his own PSU and not powered by the Arduino. Don't forget to unplug +5V rail on the ICSP connector.


My results are unchanged..

e-licktronic wrote:When AVRdue erase the chip (first command line) all fuses set as default. (lock fuse = 0x3F)


But avrdude fails the first step...the lock fuse is stuck at 0x0F, which enables "boot loader protection mode 3".

my low fuse is set to 0xd6, which should enable the full-swing oscillator timing and allow me to program the chip, i thought...but i can't change any of the current fuses, or burn the v1_020.hex without avrdude failing verification...

since junk16 confirms another 1284p can be successfully programmed with his arduino, it seems to be the chip not the programmer, or the code. perhaps i'll just order a new 1284p and try to program it from scratch...
pistrix
 
Posts: 66
Joined: Jan 6th, '14, 09:19

Re: firmware update problem 1.017 -> 1.0xx

Postby e-licktronic » Jan 9th, '17, 04:47

junk16, pistrix,

You are right it seems that your Nava Atmega1284P doesn't work properly. :(


Best regards,
e-licktronic
Best regards,
e-licktronic
User avatar
e-licktronic
Site Admin
 
Posts: 552
Joined: Feb 16th, '11, 13:36

PreviousNext

Return to Nava Software

Who is online

Users browsing this forum: No registered users and 1 guest