I need to publish a payload from mbed-os to MQTT broker. I am using FVP_MPS2_M7 as target, code is getting compiled but while running it on simulator(FVP_MPS2_Cortex-M7.exe) am getting an error code -3001 but when I use FVP_MPS2_M3 as target and simulator(FVP_MPS2_Cortex-M3.exe) it is publishing a payload to MQTT broker.
I am using below command for M3 simulator :-
FVP_MPS2_Cortex-M3.exe -C fvp_mps2.smsc_91c111.enabled=1 -C fvp_mps2.hostbridge.userNetworking=1 -a "C:\Users\A704698\Desktop\ARM_Project\Mbed_Programs\Mqtt-Hello-World\BUILD\FVP_MPS2_M3\GCC_ARM\Mqtt-Hello-World.elf
For M7 simulator command is :-
FVP_MPS2_Cortex-M7.exe -C fvp_mps2.smsc_91c111.enabled=1 -C fvp_mps2.hostbridge.userNetworking=1 -a "C:\Users\A704698\Desktop\ARM_Project\Mbed_Programs\Mqtt-Hello-World\BUILD\FVP_MPS2_M7\GCC_ARM\Mqtt-Hello-World.elf
I have referred this link :- http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0370n/CJGDADEA.html
Do I need to set extra parameter for M7 simulator except hostbridge and smsc?
Your help will be appreciated.
Not sure how this fits under "Infrastructure Solutions". This post has been moved to the "Embedded" category [1]
[1]: https://community.arm.com/developer/ip-products/system/f/embedded-forum