hi, I have installed IoT extension board WL18 WiFi/Bluetooth and followed offical instructions to build firmware with bluetooth driver https://github.com/mangOH/mangOH/wiki/Bluetooth-WL18xx-driver-for-mangOH
firmware was build ok and I have flashed ‘yocto_wp85.cwe’ using Windows Developer Studio’ (flash from external file)
after that board not boot.
connecting to console port I see error:
I’m no expert in this area, but I have a few questions that might help an expert to solve the problem for you:
What WP module do you have on your mangOH board?
Is this mangOH Red or Green?
What is the on/off state of your boot mode switch (switch 7 on Red) ?
If the boot mode switch is ON, then it will only boot into the recovery mode. In this mode you should be able to reprogram it with a firmware image from Sierra Wireless, even if it has bad firmware on it. After you’ve reprogrammed it with the new firmware image, switch the boot mode pin OFF and reset the board to boot the new firmware.
The programming process happens like this:
Download packed firmware image into the SWIFOTA flash partition on the device.
Reset the device.
Board’s primary bootloader sees the new image in the SWIFOTA partition and starts unpacking it and writing it into other flash partitions.
When programming is done, reset the device. (If interrupted by reset or power loss, will jump back to step 3.)
The author of the official instructions page should be back on-line on Tuesday, but hopefully someone else will be able to help before then.
in other thead (https://mangoh.discourse.group/t/bluetooth-success-story/2656/5) people telling that they have succeded by following: we used swicwe to stitch together the new yocto cwe with the bootloader, modem firmware and legato images into a single spk file and flashed it using swiflash
If you followed those old WL18 instructions carefully, then you’ve probably loaded your WP77 with an image that was intended for the WP85 or WP75 (which use the Qualcomm MDM9x15-series of module). The WP77 uses a different Qualcomm module and runs quite different software at the bootloader and Linux distro levels. Still, the one-click tool should recover it with switch 7 turned on.
switch 7 ON
power-cycle the mangOH
wait 20 seconds or so
run one-click tool
when it starts downloading the firmware image, you can move switch 7 off so it will boot properly (otherwise, it will still program properly, but may get stuck waiting for the device to reboot afterwards).
If that still doesn’t work, try rebooting your Windows PC. It shouldn’t be needed, but sometimes it helps.
yes, but what means error in initial message? do you have sources to check?
I tried many times with DIP 7 ON and OFF. flashing and downloading seems to works but later it freeze on Awaiting adapter …
Enabling selective suspend …
and then Firmware download failed. Primary error code: 82 - Failed in checking modem mode. Secondary error code: 0 - Not applicable. Device error code: 0x0 - Unknown device error code.
Also, have you tried switching off the recovery mode (dip switch 7 off) and power cycling the board after your attempt with FDT? I have seen programming tools report failure even though they succeeded. This usually happens because the tool is waiting for the board to boot up after being programmed, but the board doesn’t boot because it is still in recovery mode.
yes, I tried to flash with dip switch 7 on and off, and then switch back during flashing… it looks like downloading and flashing is proceeding, but at the end after reboot I see error as in initial post.
I did not tried ‘swiflash’ yet, but isn’t it just linux version of ‘fdt’. I thought it does the same job as Windows tool