My tricky part seemed to only having left the configuration of the RS232 in something other than factory and which I forgot about during vacation. I actually had left the port in AT mode.
But my problems do not seem to be over:
For my project, I needed to set the interface to interface to 9600 with no hardware flow control. I understand the two commands to get back to factory settings are:
AT+IPR=115200
AT+IFC=2,2
I change these within RealTerm (as the interface using Developer Studio tries to do too much)
Afterwards I encounter two problems:
- I can open the port and send commands, but when I try to download a program I get through all of the block loads and then receive a timeout with the following details:
Download file AirVantage.dwl to port COM8, reload informations and check => ERROR: Time out: 20000ms
Download file AirVantage.dwl to port COM8, reload informations and check => ERROR: Time out: 20000ms
Open port COM8 => DONE: Success
Open port COM8 => NO NEED TO DO IT: Success
Waiting for module detection => DONE: Target detected sn:BH3220191308101 baudrate:115200
Switch to Development mode and check => DONE: Success
Switch to Development mode => DONE: Success
Pause : 300 milliseconds => DONE: Success
Check dev mode unlocked => DONE: Success
Enable persistent development mode => DONE: Success
Show a CONFIRM dialog with message => NO NEED TO DO IT: Success
DWL File parsing => DONE: Success
Show a CONFIRM dialog with message => NO NEED TO DO IT: Success
Load model element: Target Informations => DONE: Target Informations received: [dwlBean=size=55344, buildDate=111611 18:03, version=V08b13, checksum=-576493737, startAddress=65536, fwBean=size=2223904, buildDate=121712 09:52, version=R7.47.6.201212170952, checksum=-1252995348, startAddress=131072, modemBean=, appBean=size=899052, buildDate=082813 16:41, version=1.0.0.20130828163924, checksum=-1246819435, startAddress=2490368 components={Open AT Application Framework package=2.37.6.201301161050, Developer Studio=2.3.1.201306241059-R11859, Internet Library Package=5.43.3.201212250709, AirVantage Agent Library Package=5.3.0.I201306171916, Firmware Package=7.47.6.201212170952, Open AT OS Package=6.37.0.201202060950}, name=AVSampleDemo Sample, companyName=Datus, , totalRAMSize=2097152, totalFlashSize=8388608, maxOatAppFlashSize=4194304, maxADFlashSize=786432, appStarted=false, localPortID=1, FXT009, com.wavecom.spm.model.wpkg.impl.FirmwareImpl@63db699d (persistedModelVersion: 1.0.0, relativePath: d:/Program Files/Sierra Wireless/Embedded Software/com.wavecom.openat.ide.spm.fw.model.7.47.6.201212170952_7.47.6.201212170952/resources, mainTocReference: …/com.wavecom.spm.model/tocFW.xml#openAtFwDoc, pluginPathOffset: resources, externalPath: null, resourcesHash: 94212630960985) (appFlows: [ADL, LLH, HLH], heapOverheadSize: 16), false, 1000]
Check pre-condition before download => DONE: Success
Check if target WCPUID is compatible with application => DONE: Target WCPUID is compatible with application
Check if the Open AT area size is enough => DONE: Success
Check application overwrites the current flash mapping => DONE: No flash mapping
Check total flash size of the Open AT application => DONE: Success
Check memory size => DONE: Success
Check if the file already has been downloaded on target => DONE: File is different from the target one.
Check start addresses => DONE: Success
Copy DWL file AirVantage.dwl to temporary path => DONE: Success
Download file AirVantage.dwl to port COM8 => DONE: Success
Load informations from target => ERROR: Time out: 20000ms
Waiting for module detection => ERROR: Time out: 20000ms
- When I close the port in Developer studio, I return to 9600 baud although the hardware control
AT+IFC=2,2 seems to stay in place.
I should note that I tried to do things step by step with first working with only changing the rate, and I even received errors when trying to open the port in Developer studio.