Mesa 5i25 config for chinese BOB

More
8 years 9 months ago - 8 years 9 months ago #105175 by eFalegname
A- At the beginning before I switched PCs this is what was happening:
1.A Sometime when I started the PC1 a red led turns on on the 6i25 board and doesnt turn off, the PC wouldn't boot.
2.A I start the PC1 an the red led flashes once, the vents get off as if the PC1 had been switched off for 4 seconds ca, then the led flashes again one more time. The PC1 starts but the Mesaflash readhmin chooses the penultimate firmware flashed, not even the default or the last one. ( I realized about this after I wrote you today, I apologize).
**************************************************************************************************************************************************
B- That's when I decided to mount the 6i25 board on another PC (let's call it PC2)
1.B I start the PC2 and flash the 6i25 with my custom bit file again, I don't reboot but turn off the PC2 completely. I turn on the PC2 and control the 6i25 hasn't lost the firmware. All was OK.
Then I access to the BIOS of PC1 and reset it to the defaults.
2.B switch the 6i25 back to PC1, the red led blinks once and the PC1 boots, the board woorks perfectly.
3.B start PC1 again, the red led doesn't flash this time and Mesaflash displays Board not found.
Points 2.B and 3.B happen randomly.
Last edit: 8 years 9 months ago by eFalegname.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #105176 by PCW
Its not possible for the FPGA to load the previous EEPROM image, so what is more likely is that the
FPGA never reloaded or that the EEPROM write failed

This may be because one PC has a bad 3.3V power supply ( the FPGA will be held in reset if the 3.3V is marginal )

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago - 8 years 9 months ago #105177 by eFalegname
I understand but then how is it possible that I could still use the latest firmware ( the one before I switched the PC1 off)?
,do you advise me not to use PC1?
Last edit: 8 years 9 months ago by eFalegname.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago - 8 years 9 months ago #105191 by eFalegname
Good morning Peter.
[strike]This morning I turn on the PC and I find it does not start, after a couple of attempts finally I can access to linuxcnc and for my surprise the[/strike] ...
please forget my previous message, I start all over again, I write all the steps, I want to make sure I'm not making any mistakes, I'm so sorry, I'll report everything here.
Last edit: 8 years 9 months ago by eFalegname.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #105200 by eFalegname
I'm using another PC, til now I haven't had any issues with the boot. I remade the custom bit file and ISEL didn't display any errors. Sometimes when I start the PC the board flashes red once, I check the firmware and is always the right one but then LinuxCNC doesn't work properly, the spindler doesn't switch on. I have used the Verify command of Mesaflash, here I attach the result, it says it has an error.
After a while of this happening once again the red led lights for 3 seconds or more, I open the terminal and again the firmware that loads is the penultimate used.
Could you please help me resolve this? I spent two days and I really don't know how to proceed.

My Pinout:
Code:
Configuration Name: HOSTMOT2 General configuration information: BoardName : MESA5I25 FPGA Size: 9 KGates FPGA Pins: 144 Number of IO Ports: 2 Width of one I/O port: 17 Clock Low frequency: 33.3333 MHz Clock High frequency: 200.0000 MHz IDROM Type: 3 Instance Stride 0: 4 Instance Stride 1: 64 Register Stride 0: 256 Register Stride 1: 256 Modules in configuration: Module: WatchDog There are 1 of WatchDog in configuration Version: 0 Registers: 3 BaseAddress: 0C00 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: IOPort There are 2 of IOPort in configuration Version: 0 Registers: 5 BaseAddress: 1000 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: StepGen There are 8 of StepGen in configuration Version: 2 Registers: 10 BaseAddress: 2000 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: PWM There are 2 of PWM in configuration Version: 0 Registers: 5 BaseAddress: 4100 ClockFrequency: 200.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: LED There are 1 of LED in configuration Version: 0 Registers: 1 BaseAddress: 0200 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Configuration pin-out: IO Connections for P3 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 0 IOPort PWM 0 PWM (Out) 14 1 IOPort None 2 2 IOPort StepGen 0 Step/Table1 (Out) 15 3 IOPort None 3 4 IOPort StepGen 0 Dir/Table2 (Out) 16 5 IOPort None 4 6 IOPort StepGen 1 Step/Table1 (Out) 17 7 IOPort None 5 8 IOPort StepGen 1 Dir/Table2 (Out) 6 9 IOPort StepGen 2 Step/Table1 (Out) 7 10 IOPort StepGen 2 Dir/Table2 (Out) 8 11 IOPort StepGen 3 Step/Table1 (Out) 9 12 IOPort StepGen 3 Dir/Table2 (Out) 10 13 IOPort None 11 14 IOPort None 12 15 IOPort None 13 16 IOPort None IO Connections for P2 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 17 IOPort PWM 1 PWM (Out) 14 18 IOPort None 2 19 IOPort StepGen 4 Step/Table1 (Out) 15 20 IOPort None 3 21 IOPort StepGen 4 Dir/Table2 (Out) 16 22 IOPort None 4 23 IOPort StepGen 5 Step/Table1 (Out) 17 24 IOPort None 5 25 IOPort StepGen 5 Dir/Table2 (Out) 6 26 IOPort StepGen 6 Step/Table1 (Out) 7 27 IOPort StepGen 6 Dir/Table2 (Out) 8 28 IOPort StepGen 7 Step/Table1 (Out) 9 29 IOPort StepGen 7 Dir/Table2 (Out) 10 30 IOPort None 11 31 IOPort None 12 32 IOPort None 13 33 IOPort None

--verify:
Code:
Checking file... OK File type: BIT file Boot sector OK Verifying EEPROM sectors starting from 0x100000... | Error at 0x1000EA expected: 0x10 but read: 0x0

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #105202 by PCW
There are only 2 EEPROM firmware images on the 6I25, the fallback and the user configuration
it is simply impossible to go back to a previous user firmware version if you have power cycled the board
nor is there any scheme in Linux to automatically update mesa firmware.

It is possible that a firmware update failed or you did not power cycle the machine so the last loaded
image is still in the FPGA ( the FPGA is loaded from the EEPROM at power up )

As I mentioned before there could be a problem with the ATX 3.3V supply (check with a voltmeter) or maybe the 3.3V reset circuit on the 6I25 has a fault. The red lights on the 6I25 should blink briefly _every_ time the power is turned on, if not there is either an issue with the ATX 3.3V power supply or the 6I25 reset circuitry

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.063 seconds
Powered by Kunena Forum