Failed firmware update for HL7812

I have HL7812 device where the firmware update was interrupted. Now I am trying to update the firmware using UART0 but that is also failing (the firmware update software log is attached).

Boot loader message:

U-Boot 2012.10 (Dec 15 2021 - 12:47:40) ALT1250_03_02_00_12_15041_UB 

  

Board: ALT1250 Ver: 0.32-SB-E0 (PMP CPU Speed 120 MHz) 

Platform id 9D9-989 

DRAM:  3 MiB 

Now running in RAM - U-Boot at: 902a4000 

Boot mode 2 

Flash Manufacturer/Device ID is: 0x20bb18 

Enable QUAD mode 

Flash: 16 MiB 

*** Warning - Merge environment, using default environment 

  

map import OK 

USB CTRL has been successfully initialized! 

In:    usbtty 

Out:   usbtty 

Err:   usbtty 

Configuring Flash Write Protection (offset 0x192e00) 

new_ce_val = 0x3a0001f0 

Rst info: user triggered : assert/exception in mac/rtos : assert in pmp : exception in pmp : MCU reset : assert in MCU : exception in MCU : mac wd : power on, no reset 

Hit any key to stop autoboot:  0 

Version: 2.0 

  

Nothing to upgrade... 

ERROR: 00000008 

do_halt... 

The firmware update log (over UART0)

ImageBurnTool Log File
6/20/2025 9:45:31 AM

  Image Burn Tool for HL79 & HL78
  (c) 2021-2023 Semtech Corporation, 2011-2023 SONY Semiconductor. All rights reserved | Version: 510.11.3 | Build: 2023/12/20-10:21:38 | DLL: 2023/07/26-12:30:55

***************************************************


20-06-2025 09:45:31, Information - BuildScriptForFirstPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\sysHeader.altscr
20-06-2025 09:45:31, Information - BuildScriptForFirstPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\uboot.altscr
20-06-2025 09:45:31, Information - BuildScriptForFirstPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\config_record.altscr
20-06-2025 09:45:31, Information - BuildScriptForFirstPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\map.altscr
20-06-2025 09:45:31, Information - VerifyImagesExistence: Script for first phase: -
20-06-2025 09:45:31, Information - BuildScriptForSecondPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\io_par.altscr
20-06-2025 09:45:31, Information - BuildScriptForSecondPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\modemfw.altscr
20-06-2025 09:45:31, Information - BuildScriptForSecondPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\modemfw2.altscr
20-06-2025 09:45:31, Information - BuildScriptForSecondPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\pmp.altscr
20-06-2025 09:45:31, Information - BuildScriptForSecondPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\modem_sys_hdr.altscr
20-06-2025 09:45:31, Information - BuildScriptForSecondPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\app_fw.altscr
20-06-2025 09:45:31, Information - BuildScriptForSecondPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\generic.altscr
20-06-2025 09:45:31, Information - BuildScriptForSecondPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\rom_puk1.altscr
20-06-2025 09:45:31, Information - VerifyImagesExistence: Script for second phase: -
20-06-2025 09:45:32, Information - GetUBootVersion: uBootVersion file(cpx)=ALT1250_03_02_00_12_15041_UB

20-06-2025 09:45:33, Information - AdditionalSettingsForUartBurning: Setting flow control off


20-06-2025 09:45:33, Information - BurnFirstPhase: Log file's location:'C:\Users\Hidden\AppData\Local\Temp\HL7810.5.7.2.0_HL78xx.5.7.2.0.RK_03_02_00_00_43621.20241029_10282_dl.log'


20-06-2025 09:45:33, Information - BurnFirstPhase: Starting burning phase
20-06-2025 09:45:33, Information - StartBurningPhase: Verifying selected bank ...
20-06-2025 09:45:33, Information - PreBurnValidateAndProcess: Verifying Chip Info:

20-06-2025 09:45:33, Information - PreBurnValidateAndProcess: Verifying correlation between burning layout and board type:
20-06-2025 09:45:33, Information - PreBurnValidateAndProcess: Device's response:  ALT1250-SB-E0
20-06-2025 09:45:33, Information - VerifyChipInfo: Chip type (ALT1250-SB-E0) correlates to burning layout


20-06-2025 09:45:33, Information - PreBurnValidateAndProcess: Verifying device type ...
20-06-2025 09:45:33, Information - PreBurnValidateAndProcess: printenv mtdparts
mtdparts=mtdparts=alt12xx_sflash:4k(systemHeader),4k(systemHeader_DH0),4k(hbsb_rom_puk1),4k(config_record),4k(config_record_backup),12k(oneSKU_config),32k(reserved1),4k(systemHeader_backup),396k(uboot),228k(pmp),4k(io_par),4k(modem_sys_header),4k(mcu_sys_header),388k(uboot_backup),512k(config_fs),4k(modem_puk2),4k(bdinfo),8k(env),8k(backup_env),24k(reserved2),4k(sfp_puk),4k(map1),4k(map2),64k(vrm_scratchpad),2624k(modem_fw2),4992k(modem_fw),128k(pmp_dh0),576k(ise2),5260k(app_fw),4k(mcu),44k(nvbu_2),4k(mcu_puk3),1m(ise1)
# 
20-06-2025 09:45:33, Information - PreBurnValidateAndProcess: device type in use: alt12xx_sflash
20-06-2025 09:45:33, Information - PreBurnValidateAndProcess: Verifying device compatibility to selected version ...
20-06-2025 09:45:33, Information - PreBurnValidateAndProcess: Verifying device partitions size ...
20-06-2025 09:45:33, Information - PreBurnValidateAndProcess: Verifying Rollback
20-06-2025 09:45:33, Error       - GetRollbackFromFile: There was a problem while trying to get a rollback from file - system header file not found
20-06-2025 09:45:33, Information - PreBurnValidateAndProcess: Verifying Flash Type:
20-06-2025 09:45:33, Information - PreBurnValidateAndProcess:  
Bank # 1: 
  Name: Micron MTQU128ABA (16 MBytes)
  Flash Manufacturer/Device ID: 0x20bb18
  Size: 16 MB in 4096 Sectors
  Address: 24 bits
  Mode: QUAD
# 


20-06-2025 09:45:33, Information - BurnFirstPhase: Building scripts for first phase ...
20-06-2025 09:45:33, Information - BuildScriptForFirstPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\sysHeader.altscr
20-06-2025 09:45:33, Information - BuildScriptForFirstPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\uboot.altscr
20-06-2025 09:45:33, Information - BuildScriptForFirstPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\config_record.altscr
20-06-2025 09:45:33, Information - BuildScriptForFirstPhase: Script added: C:\Users\Hidden\AppData\Local\Temp\7zS096480D4\RK_03_02_00\Scripts\map.altscr
20-06-2025 09:45:33, Information - StartBurningPhase: Script for first phase: -
20-06-2025 09:45:33, Information - BurnFirstPhase: Verifying images existence ...
20-06-2025 09:45:33, Information - StartBurnSession: Starting burning ...
20-06-2025 09:45:33, Information - StartBurnSession: Processing burning script ...
20-06-2025 09:45:33, Information - IfCondCommand: Exit @true code=1
20-06-2025 09:45:33, Information - ExecuteScript: @line=if true exit 1 "Unrecognized or Unsupported device"
20-06-2025 09:45:33, Information - ExecuteScript: 
 EXIT(1)!
 Unrecognized or Unsupported device

20-06-2025 09:45:33, Information - WrapupUartBurnProcess: Resetting device ...
Completion Time: 06-20-2025 9:45:33 AM


when you see “Hit any key to stop autoboot: 0”, you can hit ENTER key to stop it.
After you can run HL7812.5.7.3.0.exe to download firmware via UART0

As I mentioned in the orignal post, the attached log is for the update attempt via UART0, which shows a message about “Unrecognized or Unsupported device”.

so you already hit the ENTER key?

Obviously, I have hit enter (using a terminal tool first) and once I see # prompt, I close it terminal tool and start the OneClick which then proceed & logs the error (which is attached).

After you hit ENTER key, if you enter “md5sum 0xB8191000 0x00000310”, what is the return?

BTW, is it ok to download the old FW 5.4.12.1 or FW 5.4.10.0?

https://source.sierrawireless.com/resources/airprime/software/hl781x-and-hl7845-firmware/hl781x-and-hl7845-firmware-release-history-item/#sthash.lghZ1HIn.atQbCcJ8.dpbs

Its really embarrassing! :flushed_face:
I was using HL7810 file for HL7812 modem (user error).
Once I downloaded an older version for 12, I realized my error.

BTW, the hash was the following (which is not relevant now):

md5sum 0xB8191000 0x00000310
md5 for b8191000 … b819130f ==> e634569e344a215be9ecb72cd6204223

Just to be clear, I was able to update the firmware over UART0, once I used the correct file.

We do have a different issue related to HL7812 USB failure - IoT Modules - Sierra Wireless Forum

Is there a command I can send via UART0 to make the modem go to the factory default settings.
We switched the modem from UART1 to USB but the USB is not working and we are now stuck.
I am hoping there is a way to reset the modem to factory default (using the bootloader).

With same pcb, hl7810 has no problem to enable usb, but hl7812 has problem.

If same firmware version is used, it could lead to hardware instability problem

Correct with the same pcb, HL7810 USB works fine, but HL7812 USB is not detected by the windows (nor Linux).

We are using the correct firmware for 7812, i.e. not running 7810 firmware on 7812 (which seems like is not possible anyway). :slightly_smiling_face:

then maybe the PCB has some instability problem

Its possible, but its the same PCB with 7812 populated instead of 7810.

But the main question is that: is there a way to put the modem back into factory default settings via UART0 (from the bootloader) so that it can switch back to UART1.

no idea…
have you contacted distributor?

We haven’t contacted the distributor yet.
Although, I don’t see how a distributor can help with bootloader level commands (if there is one that exists).

your distributor might contact Semtech for official support

Got it. Will do that. Thanks.