Topics

rbf file programming

Sid Boyce
 

I decided to give it a try before bedtime.
"python BootLoader_2.2.pyw" hangs on Test on 192.168.10.89, nmap sees it. That's on x86_64 and ODROID-N2. It can only be killed by CTRL-C or CTRL-ESC-Enter.

slipstream:/c1/usr/src/XXX/Odyssey_BL_2.2 # nmap -sT 192.168.10.0/24
Starting Nmap 7.70 ( https://nmap.org ) at 2019-07-01 00:12 BST
Nmap scan report for 192.168.10.89
Host is up.
All 1000 scanned ports on 192.168.10.89 are filtered
MAC Address: 00:1E:C0:A6:10:99 (Microchip Technology)
73 ... Sid.

On 30/06/2019 23:54, Sid Boyce via Groups.Io wrote:
OK,
I see BootLoader_2.2.pyw is included.
73 ... Sid.

On 30/06/2019 22:24, David Fainitski wrote:
Hello, Sid

Here is new version 2.2 of bootloader for test. Don't need to change MCU FW after 2.1 version.

Were added couple futures:
Up to 5 tries before fail to avoid missed packets
Sequence number for each packet to avoid double packets

Please try this on your computers.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

David Fainitski
 
Edited

Hello,  Sid. 
Please try to run under console and read the messages if they are presented.

Sid Boyce
 

Hi David,
I click on Test which turns Green ... nothing happens, no messages.
I have to kill the pid as it is not responsive after clicking on Test.
73 ... Sid.

On 01/07/2019 12:48, David Fainitski wrote:

[Edited Message Follows]

Hello,  Sid.
Please try to run under console and read the messages if they are presented.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

Sid Boyce
 

Odyssey_BL_2.1 # python BootLoader_2.0.pyw
No problem with the above, Test of 192.168.10.89 works and finds the device at MAC 00:1e:c0:a6:10:99
73 ... Sid.

On 01/07/2019 12:48, David Fainitski wrote:

[Edited Message Follows]

Hello,  Sid.
Please try to run under console and read the messages if they are presented.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

David Fainitski
 

Hello, Sid
I have found the mistake, please try again with new file.
Don't forget to flash the board with new 2.2 bootloader .pof

FPGA wirmware and PC programm - the pair, both should to have the same version.

This version will write mistakes in console.

Sid Boyce
 

Wrote Bootloader.pof 100% Success!

Problem with Bootloader.rbf.
73 ... Sid.

On 04/07/2019 04:22, David Fainitski wrote:
Hello, Sid
I have found the mistake, please try again with new file.
Don't forget to flash the board with new 2.2 bootloader .pof

FPGA wirmware and PC programm - the pair, both should to have the same version.

This version will write mistakes in console.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

Sid Boyce
 

Check of file sizes.
# ls -l /c1/usr/src/XXX/Odyssey_BL_2.2
total 9032
-rw-r--r-- 1 root     root     7029 Jun 29 18:44 BL_2_commands.odt
-rw-r--r-- 1 root     root    18041 Jul  4 16:30 BootLoader_2.2.pyw
-rw-r--r-- 1 root     root  8388811 Jun 29 21:33 Bootloader.pof
-rw-r--r-- 1 root     root   571152 Jun 29 21:33 Bootloader.rbf
-rw-r--r-- 1 lancelot users  253515 Jul  4 16:05 Bootloader_2.2.zip
73 ... Sid.

On 04/07/2019 04:22, David Fainitski wrote:
Hello, Sid
I have found the mistake, please try again with new file.
Don't forget to flash the board with new 2.2 bootloader .pof

FPGA wirmware and PC programm - the pair, both should to have the same version.

This version will write mistakes in console.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

David Fainitski
 

Sid,  bootloafer. rbf can not be written to slots 1-3.
Slots 1-3 are using only for working wirmware. 
You can write bootloader to slot 0 only. 
But why are you trying to do this if you did it earlier with programmator and Quartus? 

Sid Boyce
 

My misunderstanding I thought I had to write both the pof with quartus and rbf with BootLoader_2.2.pyw.
73 ... Sid.

On 04/07/2019 17:17, David Fainitski wrote:
Sid,  bootloafer. rbf can not be written to slots 1-3.
Slots 1-3 are using only for working wirmware.
You can write bootloader to slot 0 only.
But why are you trying to do this if you did it earlier with programmator and Quartus?
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

David Fainitski
 

No, it is two ways of the same.
If you are not be able to write new bootloader.rbf trough pyw, you are forced to do this with Quartus programmer.

The Bootloader.pyw allows you to change bootloader and working firmware.

Sid Boyce
 

Thanks,
My confusion, no firmware needed.
73 ... Sid.

On 04/07/2019 23:02, David Fainitski wrote:
No, it is two ways of the same.
If you are not be able to write new bootloader.rbf trough pyw, you are forced to do this with Quartus programmer.

The Bootloader.pyw allows you to change bootloader and working firmware.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks