yes, it is OK.
8215 is processor name
8548 is module name.
when i flash new.cwe file is my firmware i sit going to change complete FW or it is just a small addition to the existing FW.
Here is a doc that should help you understand this in detail:
https://source.sierrawireless.com/resources/airprime/application_notes_and_code_samples/airprime_wpflashguide/
It might be useful for you to goto source.sierrawireless.com for additional documentation
I am trying to execute mux command but it is saying that â-sh: mux: not foundâ how to get mux working
You need to build and install the mangOH Green system as defined here:
You will be able to run the mux command then.
I have build and installed mangOH Green system as defined in the link, and iâm able to run MUX command,
I have received can iot card(MCP2515) today morning , how do i connect it to the can network.
where to connect CAN_LOW and CAN_HIGH connecteors.
@kiran
here is the connector details
you can download the schematic from http://mangoh.io/docs/1600712%20PCA%20IOT%20CAN.rar
Thanks
Do i need to connect any external power supply to CAN IOT card for pin1(VCC_CAN)? if yes how many volts do i need to supply.
I have connected can IOT card with only âcan_low and can_high connectedâ and followed steps mentioned in below link https://github.com/mangOH/mangOH/wiki/How-to-build-MCP2515-CAN-drivers-for-mangOH but there is no interface like can0 enabled.
Pin 1 is 5v output if you see the schematic VCC_CAN is VCC_5V0 so @pin 1 you will get 5 volt.
CAN network is based on transmission of differential voltages so for CAN communication CAN H and L lines are sufficient.
you must select Virtual Local CAN Interface (vcan) during build process or else can0 will not enable.
Thanks
I have selected Virtual Local CAN Interface (vcan) during build process.
And i have inserted can IOT card into middle slot of mangOH green board and i have tested volatge on pin 1 using multimeter it is showing 5V i was thinking it will draw power from main board so i didnt connected power externally.
Do i need to connect additional 5V externally to CAN iot card?
can you do logread -f on a separate terminal and gather information on the various commands?
Would like to know if you built the driver properly or not.
You should not connect any external voltage to the device.
I did logread -f for various commands i am getting below output when i execute modprobe mcp251x
Mar 7 05:12:18 swi-mdm9x15 user.warn kernel: [ 89.259728] spi0.0 supply vdd not found, using dummy regulator
Mar 7 05:12:18 swi-mdm9x15 user.warn kernel: [ 89.274561] spi0.0 supply xceiver not found, using dummy regulator
Mar 7 05:12:19 swi-mdm9x15 user.err kernel: [ 90.284205] mcp251x spi0.0: MCP251x didnât enter in conf mode after reset
I have selected Microchip MCP251X SPI CAN controllers option while building.
How i do fix this issue.
Can you post log file for all the items below:
mux 5
mux 16
modprobe can
modprobe can-dev
modprobe can-raw
modprobe mcp251x
ip link set can0 type can bitrate 125000 triple-sampling on
ifconfig can0 up
root@swi-mdm9x15:~# logread -f
Mar 7 05:40:33 swi-mdm9x15 user.warn Legato: -WRN- | mux[883]/framework T=main | LE_FILENAME le_ref_CreateMap() 149 | Map name ârefmangoh_muxCtrl_ClientHandlersâ truncated to ârefmangoh_muxCtrl_ClientHandlerâ.
Mar 7 05:40:35 swi-mdm9x15 user.warn Legato: -WRN- | mux[894]/framework T=main | LE_FILENAME le_ref_CreateMap() 149 | Map name ârefmangoh_muxCtrl_ClientHandlersâ truncated to ârefmangoh_muxCtrl_ClientHandlerâ.
Mar 7 05:40:47 swi-mdm9x15 user.info kernel: [ 56.292293] can: controller area network core (rev 20120528 abi 9)
Mar 7 05:40:47 swi-mdm9x15 user.info kernel: [ 56.303860] NET: Registered protocol family 29
Mar 7 05:40:49 swi-mdm9x15 user.info kernel: [ 58.543689] CAN device driver interface
Mar 7 05:40:53 swi-mdm9x15 user.info kernel: [ 61.954585] can: raw protocol (rev 20120528)
Mar 7 05:40:59 swi-mdm9x15 user.warn kernel: [ 68.170486] spi0.0 supply vdd not found, using dummy regulator
Mar 7 05:40:59 swi-mdm9x15 user.warn kernel: [ 68.183854] spi0.0 supply xceiver not found, using dummy regulator
Mar 7 05:41:00 swi-mdm9x15 user.err kernel: [ 69.203479] mcp251x spi0.0: MCP251x didnât enter in conf mode after reset
when i try to execute ip link set can0 type can bitrate 125000 triple-sampling on it was showing like Cannot find device âcan0â.
Hi Kiran,
It seems like your patch file is not applied. Can you double check the directory in which you applied it is correct?
Regards,
Ashish
I have applied the patch file mentioned in the given link.
If there is any changes to the patch file please provide me with link to get new patch file
No, the patch is correct. It works for us and for external users @niladridm
there is something not right in how you are applying it. Can you show a screen capture of where you are applying it?
that seems correct.
I am really not sure what is wrong here. Our team will create a document showing the visual steps for the implementation.
Thanks.But when can I expect that document, because I have been stuck there.
And I didnât have âCandumpâ tool in my build.how to get that
I have assigned it to my team but will take 2 weeks to have a well written document as we wonât release document without quality control.
Another option is to provide you a yocto_wp85.cwe as short term to get you moving.
You can also copy every step you are doing as a document and load it on google drive. We can troubleshoot from there. There is something wrong in how the steps are being done.
Also, ca you confirm that:
a. You loaded the latest firmware
b. Loaded the .cwe file on top of that firmware