Nice, but does it boot?
Is there LWIP in the SDK?
Helpful post? Buy me a coffee.
Is there LWIP in the SDK?
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamp.kaczmarek2 wrote:Is there LWIP in the SDK?
p.kaczmarek2 wrote:Nice, but does it boot?
micbanand wrote:do we have a pinout of the 6260 chip?
00000000 62 65 6e 6f 04 00 00 00 01 00 00 00 00 00 00 00 |beno............|
00000010 c0 41 00 00 02 26 20 18 fe 09 96 08 5e b8 c2 00 |.A...& .....^...|
00000020 00 00 41 80 00 00 00 40 00 01 c0 00 ab 4f b9 58 |..A....@.....O.X|
00000030 18 14 0f 00 62 6f 6f 74 2d 76 65 72 73 69 6f 6e |....boot-version|
00000040 2d 64 65 62 75 67 00 00 00 00 00 00 00 00 00 00 |-debug..........|
compile ../ref_design/standalone/main.c
In file included from ../include/system.h:26:0,
from ../platform/lwip/contrib/port/arch/cc.h:35,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/arch.h:48,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/debug.h:40,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/opt.h:52,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/sockets.h:42,
from ../ref_design/standalone/hal/../new_common.h:469,
from ../ref_design/standalone/hal/hal_flashVars.h:5,
from ../ref_design/standalone/main.c:8:
../include/system_common.h:116:0: warning: "MIN" redefined
#define MIN(x, y) (((x) < (y))? (x) : (y))
^
In file included from ../ref_design/standalone/hal/hal_flashVars.h:5:0,
from ../ref_design/standalone/main.c:8:
../ref_design/standalone/hal/../new_common.h:143:0: note: this is the location of the previous definition
#define MIN(a,b) (((a)<(b))?(a):(b))
^
In file included from ../include/system.h:26:0,
from ../platform/lwip/contrib/port/arch/cc.h:35,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/arch.h:48,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/debug.h:40,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/opt.h:52,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/sockets.h:42,
from ../ref_design/standalone/hal/../new_common.h:469,
from ../ref_design/standalone/hal/hal_flashVars.h:5,
from ../ref_design/standalone/main.c:8:
../include/system_common.h:117:0: warning: "MAX" redefined
#define MAX(x, y) (((x) > (y))? (x) : (y))
^
In file included from ../ref_design/standalone/hal/hal_flashVars.h:5:0,
from ../ref_design/standalone/main.c:8:
../ref_design/standalone/hal/../new_common.h:147:0: note: this is the location of the previous definition
#define MAX(a,b) (((a)>(b))?(a):(b))
^
In file included from ../include/system.h:26:0,
from ../platform/lwip/contrib/port/arch/cc.h:35,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/arch.h:48,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/debug.h:40,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/opt.h:52,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/sockets.h:42,
from ../ref_design/standalone/hal/../new_common.h:469,
from ../ref_design/standalone/hal/hal_flashVars.h:5,
from ../ref_design/standalone/main.c:8:
../include/system_common.h:175:0: warning: "ASSERT" redefined
#define ASSERT(x) if ((x)) {} else {show_assert(#x, __FILE__, __FUNCTION__, __LINE__); }
^
In file included from ../ref_design/standalone/hal/hal_flashVars.h:5:0,
from ../ref_design/standalone/main.c:8:
../ref_design/standalone/hal/../new_common.h:236:0: note: this is the location of the previous definition
#define ASSERT
^
In file included from ../include/system_common.h:308:0,
from ../include/system.h:26,
from ../platform/lwip/contrib/port/arch/cc.h:35,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/arch.h:48,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/debug.h:40,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/opt.h:52,
from ../platform/lwip/lwip-2.1.0/src/include/lwip/sockets.h:42,
from ../ref_design/standalone/hal/../new_common.h:469,
from ../ref_design/standalone/hal/hal_flashVars.h:5,
from ../ref_design/standalone/main.c:8:
../include/wifi/hal_phy_tr6260.h:37:0: warning: "BIT_SET" redefined
#define BIT_SET(value,bit) (*(volatile uint32_t*)(value) = (*(volatile uint32_t*)(value))|(1<<(bit)));
^
In file included from ../ref_design/standalone/hal/hal_flashVars.h:5:0,
from ../ref_design/standalone/main.c:8:
../ref_design/standalone/hal/../new_common.h:136:0: note: this is the location of the previous definition
#define BIT_SET(PIN,N) (PIN |= (1<<N))
^
In file included from ../ref_design/standalone/hal/hal_flashVars.h:5:0,
from ../ref_design/standalone/main.c:8:
../ref_design/standalone/hal/../new_common.h:481:0: warning: "stricmp" redefined
#define stricmp wal_stricmp
^
In file included from ../ref_design/standalone/hal/../new_common.h:7:0,
from ../ref_design/standalone/hal/hal_flashVars.h:5,
from ../ref_design/standalone/main.c:8:
/home/jekader/code/tr6260/nds32le-elf-mculib-v3/nds32le-elf/sys-include/string.h:129:0: note: this is the location of the previous definition
#define stricmp strcasecmp
^
In file included from ../ref_design/standalone/hal/hal_flashVars.h:5:0,
from ../ref_design/standalone/main.c:8:
../ref_design/standalone/hal/../new_common.h:497:13: error: conflicting types for 'strcasestr'
const char* strcasestr(const char* str1, const char* str2);
^
In file included from /home/jekader/code/tr6260/nds32le-elf-mculib-v3/nds32le-elf/sys-include/stdlib.h:11:0,
from ../ref_design/standalone/hal/../new_common.h:4,
from ../ref_design/standalone/hal/hal_flashVars.h:5,
from ../ref_design/standalone/main.c:8:
/home/jekader/code/tr6260/nds32le-elf-mculib-v3/nds32le-elf/sys-include/string.h:65:7: note: previous declaration of 'strcasestr' was here
char *_EXFUN(strcasestr,(const char *, const char *));
^
../ref_design/standalone/main.c:49:20: fatal error: bl_sys.h: No such file or directory
#include <bl_sys.h>
^
compilation terminated.
make[1]: *** [../scripts/rules.mk:148: ../out/tr6260s1/standalone/obj_standalone_tr6260s1/main.c.o] Error 1
make: *** [Makefile:306: st_tr6260s1_diff] Error 2
f ` f ` 枘 `` f x [00:00:00.000]ENV isn't initialize OK.
ENV isn't initialize OK.
ENV isn't initialize OK.
ENV isn't initialize OK.
this is not eco chip, chip type: 2
No 1. Task Name(LMAC Task) Handle(2105524) Added to Stack Trace
0x240200 0x240400 0x240600 0x240800 0x240a00 0x240c00 0x240e00 0x241000 0x241200 0x241400 0x241600 0x241800 0x241a00 0x241c00 0x241e00 0x242000 0x242200 0x242400 0x242600 0x242800 0x242a00 0x242c00 0x242e00 0x243000 0x243200 0x243400 0x243600 0x243800 0x243a00 0x243c00 0x243e00 0x244000 ENV isn't initialize OK.
ENV isn't initialize OK.
mainldo_nv_flag=0 buck_nv_flag=0 chip_id=2 is_cp=0
ENV isn't initialize OK.
ENV isn't initialize OK.
LMAC initialize success
vif_id:0, scanning:false
ENV isn't initialize OK.
ENV isn't initialize OK.
ENV isn't initialize OK.
No 2. Task Name(wpa_supplicant) Handle(2128488) Added to Stack Trace
[standalone_main, 152] task creation succeed!(0x207a68)
[OpenBeken, 65] task created
No 3. Task Name(OpenBeken) Handle(2208176) Added to Stack Trace
ENV isn't initialize OK.
ENV isn't initialize OK.
ENV isn't initialize OK.
ENV isn't initialize OK.
wdt_not_start
No 4. Task Name(IDLE) Handle(2122692) Added to Stack Trace
No 5. Task Name(Tmr Svc) Handle(2127848) Added to Stack Trace
ENV isn't initialize OK.
wlif_init
ENV isn't initialize OK.
wlif_init
vif_id:0, scanning:false
ENV isn't initialize OK.
wpa state:DISCON->INACT.
wpa state:INACT->DISCON.
ENV isn't initialize OK.
wpa state:DISCON->INACT.
wpa state:INACT->DISCON.
vif[0],event[27]
vif[0],event[27]
vif[1],event[27]
Entering initLog()...
vif[1],event[27]
vif[0],event[0]
Commands registered!
initLog() done!
Info:MAIN:Main_Init_Before_Delay
OK
OK
WiFI_GetMacAddressWarn:CFG:CFG_InitAndLoad: Config crc or ident mismatch. Default config will be loaded.
Info:CFG:CFG_SetDefaultLEDCorrectionTab
Main_Init_Before_Delay done
Main_Init_Delay
Main_Init_Delay done
le: setting defaults
Info:GEN:PIN_SetupPins pins have been set up.
Info:MAIN:Main_Init_Before_Delay done
Info:MAIN:Main_Init_Delay
Info:MAIN:Main_Init_Delay done
Info:MAIN:Main_Init_After_Delay
Info:MAIN:Using SSID []
Info:MAIN:Using Pass []
Info:MQTT:MQTT_RegisterCallback called for bT TR626000000000/ subT TR626000000000/+/set
Info:MQTT:MQTT_RegisterCallback called for bT obks/ subT obks/+/set
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/TR626000000000/ subT cmnd/TR626000000000/+
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obks/ subT cmnd/obks/+
Info:MQTT:MQTT_RegisterCallback called for bT TR626000000000/ subT TR626000000000/+/get
Error:CMD:cmd startScript NOT found (args autoexec.bat)
Info:MAIN:Main_Init_After_Delay done
Info:MAIN:Time 1, idle 0/s, free 54432, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 0/0
Info:MAIN:Time 2, idle 0/s, free 54432, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 0/0
Info:MAIN:Time 3, idle 0/s, free 54432, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 0/0
Info:MAIN:Time 4, idle 0/s, free 54432, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 0/0
Info:MAIN:Time 5, idle 0/s, free 54432, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 0/0
Info:MAIN:Time 6, idle 0/s, free 54432, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 0/0
Info:MAIN:Boot complete time reached (5 seconds)
Info:MAIN:Time 7, idle 0/s, free 54432, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 0/0
Info:MAIN:Time 8, idle 0/s, free 54432, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 0/0
Info:MAIN:Time 9, idle 0/s, free 54432, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 0/0
Info:MAIN:Time 10, idle 0/s, free 54432, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 0/0
insmod wrote:(Thread create HTTP Client - errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY)