- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have installed the WICED Smart IDE 2.1.1 on an iMac which is running OS X 10.10.2.
wiced_sense firmware is also installed and compiled successfully.
CP210x USB to UART Bridge VCP driver is also installed.
I can find the following devices
/dev/cu.Bluetooth-Incoming-Port
/dev/tty.Bluetooth-Incoming-Port
/dev/cu.Bluetooth-Modem
/dev/tty.Bluetooth-Modem
/dev/cu.SLAB_USBtoUART
/dev/tty.SLAB_USBtoUART
/dev/cu.SLAB_USBtoUART15
/dev/tty.SLAB_USBtoUART15
"Crystal warm up time" = 5000 is also applied.
I have tried the target: wiced_sense-BCM920737TAG_Q32 recover UART=/dev/tty.SLAB_USBtoUART15
But it reports:
08:30:38 **** Build of configuration Release for project WICED-Smart-SDK ****
/Users/xxx/Documents/WICED/WICED-Smart-SDK-2.1.1/WICED-Smart-SDK/make wiced_sense-BCM920737TAG_Q32 recover UART=/dev/tty.SLAB_USBtoUART15
Linking target ELF
OK, made elf.
Call to wiced_sense_spar_crt_setup @ 002079a1
OK, made /Users/xxx/Documents/WICED/WICED-Smart-SDK-2.1.1/WICED-Smart-SDK/Wiced-Smart/spar/../../build/wiced_sense-BCM920737TAG_Q32-rom-ram-Wiced-release/A_20737A1-wiced_sense-rom-ram-spar.cgs. MD5 sum is:
96dd2be04c0423693ee7d7e161fcda63 ../../build/wiced_sense-BCM920737TAG_Q32-rom-ram-Wiced-release/A_20737A1-wiced_sense-rom-ram-spar.cgs
--------------------------------------------------------------------------------
Patches start at 0x00204568 (RAM address)
Patches end at 0x002052D0 (RAM address)
Application starts at 0x00204F70 (RAM address)
Application ends at 0x0020797E (RAM address)
Patch size (including reused RAM) 3432 bytes
Patch size 2568 bytes
Application size 10766 bytes
------
Total RAM footprint 13334 bytes (13.0kiB)
--------------------------------------------------------------------------------
Converting CGS to HEX...
Conversion complete
Creating OTA images...
Conversion complete
OTA image footprint in NV is 12826 bytes
Recovering platform ...
**** Recovery failed - retry ****
08:30:42 Build Finished (took 3s.947ms)
Is UART=/dev/tty.SLAB_USBtoUART15 a correct parameter on the Mac?
BTW, download command is also used, but failed as well.
Is there any suggestion?
Thank you in advance.
Ray
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All:
Finally the recovery problem is fixed.
The procedure of enabling the recovery mode is different from what the Blog said.
The following steps are what I did:
(1) disconnect USB cable and remove battery
(2) press the boot button which is in the back of the PCB (NOT the battery side) and hold.
(3) connect USB cable
(4) click wiced_sense-BCM920737TAG_Q32 recover UART=/dev/tty.SLAB_USBtoUART
And it works!
This procedure is provided by a domestic FAE, forrest.chien
After recovery, I can do wiced_sense-BCM920737TAG_Q32 download UART=/dev/tty.SLAB_USBtoUART
to download my application.
I think it may be necessary to add these steps to the Blog.
Thank the help from Boost and vik86
Ray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
can't say for sure what could be the issue at first glance. can you recover sense via this video (WICED Sense Recovery Procedure Video) and try again?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, boont,
Yes. I follow exactly the same procedure of recovery in the video.
The only difference is that I am using an iMac.
But I am not sure if I am using the correct UART.
Since an iMac is used, not a PC, I can not use COM35 or COM36.
I tried either /dev/tty.SLAB_USBtoUART15 or /dev/cu.SLAB_USBtoUART15,
but none of them works.
Do you have any suggestion of the UART or something else?
Thank you for your suggestion.
Ray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As you noticed, there are 4 SLAB_USBtoUART :
/dev/cu.SLAB_USBtoUART
/dev/tty.SLAB_USBtoUART
/dev/cu.SLAB_USBtoUART15
/dev/tty.SLAB_USBtoUART15
of which two are actual ports ie.
/dev/tty.SLAB_USBtoUART
/dev/tty.SLAB_USBtoUART15
Silicon Lab driver by default gives, Enhanced COM port and Standard COM port, by my guess
/dev/tty.SLAB_USBtoUART - Enhanced COM port
/dev/tty.SLAB_USBtoUART15 - Standard COM port
We program using the Enhanced COM port, so did you try with UART= /dev/tty.SLAB_USBtoUART or /dev/cu.SLAB_USBtoUART ?
Could you try and let us know,
thnx
vik86
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried both /dev/tty.SLAB_USBtoUART and /dev/cu.SLAB_USBtoUART.
None of them are working.
IDE just failed to recover it.
The following message is shown:
Recovering platform ...
**** Recovery failed - retry ****
Is there any procedure/way to enable me to debug this issue?
Any other suggestion will be welcomed!
I really want to make it working.
Thank you for all your suggestions.
Ray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
just to confirm, you are trying to recover right ? Did you try to download the firmware than recovery ? Do you feel you have bricked your device ?
thnx
vik86
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear vik86:
Yes. You are right. I guess I have bricked my WICED Sense device.
But how shall I make it working again?
I tried the reset button and boot button.
The EEPROM recovery procedure is also tried.
But the device still can not work normally.
Is there any way to get it back?
Thank you in advance.
Ray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All:
Finally the recovery problem is fixed.
The procedure of enabling the recovery mode is different from what the Blog said.
The following steps are what I did:
(1) disconnect USB cable and remove battery
(2) press the boot button which is in the back of the PCB (NOT the battery side) and hold.
(3) connect USB cable
(4) click wiced_sense-BCM920737TAG_Q32 recover UART=/dev/tty.SLAB_USBtoUART
And it works!
This procedure is provided by a domestic FAE, forrest.chien
After recovery, I can do wiced_sense-BCM920737TAG_Q32 download UART=/dev/tty.SLAB_USBtoUART
to download my application.
I think it may be necessary to add these steps to the Blog.
Thank the help from Boost and vik86
Ray