Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

yiulsup's Content

There have been 32 items by yiulsup (Search limited from 20-April 23)


By content type

See this member's


Sort by                Order  

#32746 To compile the source code with .net mf 4.1 for netduino plus

Posted by yiulsup on 27 July 2012 - 02:42 AM in Netduino Plus 2 (and Netduino Plus 1)

I solved aboved with followings which Nak adviced me how to compile. But, I can't go further with error as "There is no file as C:\MicroFrameworkPK_v4_1\BuildOutput\THUMB\RVDS4.0\le\FLASH\release\NetduinoPlus\lib\events_pal_stubs.lib" Pls, I need advice from you. Kevin.



#32692 To compile the source code with .net mf 4.1 for netduino plus

Posted by yiulsup on 26 July 2012 - 08:11 AM in Netduino Plus 2 (and Netduino Plus 1)

To Nak. I have this one for error. C:\MicroFrameworkPK_v4_1\Solutions\NetduinoPlus\TinyBooter\TinyBooter.proj : error MSB4057: The target "BuildSigFiles" does not exist in the project. Kevin.



#32640 To compile the source code with .net mf 4.1 for netduino plus

Posted by yiulsup on 25 July 2012 - 01:00 AM in Netduino Plus 2 (and Netduino Plus 1)

To Nak. cscript Error. There is no command for cscript which I mentioned above. I tried with your recommended are ... 1. Downloaded the .NET MF 4.2 and Porting Kit 4.2. 2. ND+ firmware 4.1 3. setenv_RVDS4.1.cmd c:\rvds 4. msbuild /t:build /p:flavor=release;memory=flash;tcp_ip_stack=lwip /v:d /m I couldn't compile the firmware ND+ for ND+ Binary with above message without effect. Kevin



#32895 To compile the source code with .net mf 4.1 for netduino plus

Posted by yiulsup on 30 July 2012 - 08:25 AM in Netduino Plus 2 (and Netduino Plus 1)

I solved above problem.

Now I faced followings.

"C:\RVDS\RVCT\Programs\4.1\713\win_32-pentium\armcc.exe" --cpp --diag_suppress 2874,111,161,550,C3011 --diag_suppress 66,161,230,1293 --split_sections --library_interface=aeabi_clib -DARM_V3_1 --feedback C:\MicroFrameworkPK_v4_2\tools\make\Feedback\NetduinoPlus_RVDS4.1.feedback -DTCPIP_LWIP -DTINYCLR_ENABLE_SOURCELEVELDEBUGGING -DCOMPILE_THUMB -DVERSION_MAJOR=4 -DVERSION_MINOR=2 -DVERSION_BUILD=0 -DVERSION_REVISION=0 -DOEMSYSTEMINFOSTRING="\"Netduino Plus by Secret Labs LLC\"" -DPLATFORM_ARM_NetduinoPlus -DTARGETLOCATION_FLASH -DLITTLE_ENDIAN --thumb --fpu softvfp --cpu ARM7TDMI --littleend --no_debug --no_debug_macros -O2 --no_autoinline --inline --dwarf2 --asm --interleave -Ospace -DNDEBUG -IC:\MicroFrameworkPK_v4_2\DeviceCode\pal\COM\sockets -IC:\MicroFrameworkPK_v4_2\DeviceCode\include -IC:\MicroFrameworkPK_v4_2\DeviceCode\Cores\arm -IC:\MicroFrameworkPK_v4_2\Support\Include -IC:\MicroFrameworkPK_v4_2\crypto\inc -IC:\MicroFrameworkPK_v4_2\CLR\Include -IC:\MicroFrameworkPK_v4_2\CLR\Libraries\CorLib -IC:\MicroFrameworkPK_v4_2\CLR\Libraries\SPOT -IC:\MicroFrameworkPK_v4_2\CLR\Libraries\SPOT_Hardware -IC:\MicroFrameworkPK_v4_2\CLR\Libraries\SPOT_Graphics -IC:\MicroFrameworkPK_v4_2\CLR\Libraries\SPOT_Net -IC:\MicroFrameworkPK_v4_2\CLR\Libraries\SPOT_Net_Security -I"C:\RVDS\RVCT\Data\4.1\713\include\windows" -IC:\MicroFrameworkPK_v4_2\Solutions\NetduinoPlus -IC:\MicroFrameworkPK_v4_2\devicecode\Targets\Native\AT91 -IC:\MicroFrameworkPK_v4_2\DeviceCode\Cores\arm -IC:\MicroFrameworkPK_v4_2\DeviceCode\Cores\arm\Include -IC:\MicroFrameworkPK_v4_2\DeviceCode -IC:\MicroFrameworkPK_v4_2\DeviceCode\Include -IC:\MicroFrameworkPK_v4_2\DeviceCode\Targets\Native\AT91\NetduinoPlus -IC:\MicroFrameworkPK_v4_2\Support\Include -IC:\MicroFrameworkPK_v4_2\DeviceCode\include -IC:\MicroFrameworkPK_v4_2\CLR\include -IC:\MicroFrameworkPK_v4_2\Crypto\inc -IC:\MicroFrameworkPK_v4_2\DeviceCode\include --apcs /interwork/noropi/norwpi/noswst -o C:\MicroFrameworkPK_v4_2\BuildOutput\THUMB\RVDS4.1\le\FLASH\release\NetduinoPlus\obj\DeviceCode\pal\COM\sockets\sockets.obj -c C:\MicroFrameworkPK_v4_2\DeviceCode\PAL\COM\sockets\sockets.cpp
EXEC : warning : C9931W: Your license for Compiler (feature compiler) will expire in 23 days [C:\MicroFrameworkPK_v4_2\DeviceCode\PAL\COM\sockets\dotNetMF.proj]

EXEC : warning : C9931W: Your license for Compiler (feature compiler) will expire in 23 days [C:\MicroFrameworkPK_v4_2\DeviceCode\PAL\COM\sockets\dotNetMF.proj]

EXEC : warning : C3052E: couldn't read file 'C:\MicroFrameworkPK_v4_2\tools\make\Feedback\NetduinoPlus_RVDS4.1.feedback': No such file or directory [C:\MicroFrameworkPK_v4_2\DeviceCode\PAL\COM\sockets\dotNetMF.proj]
"C:\MicroFrameworkPK_v4_2\DeviceCode\PAL\COM\sockets\sockets.h", line 15: Error: #20: identifier "NETWORK_CONFIG" is undefined
extern NETWORK_CONFIG g_NetworkConfig;
^
"C:\MicroFrameworkPK_v4_2\DeviceCode\PAL\COM\sockets\sockets.h", line 16: Error: #20: identifier "WIRELESS_CONFIG" is undefined
extern WIRELESS_CONFIG g_WirelessConfig;
^
"C:\MicroFrameworkPK_v4_2\DeviceCode\PAL\COM\sockets\sockets.h", line 192: Error: #20: identifier "SOCKETS_MAX_COUNT" is undefined
struct SocketRegisterMap m_socketHandles[SOCKETS_MAX_COUNT];
^
"C:\MicroFrameworkPK_v4_2\DeviceCode\PAL\COM\sockets\sockets.cpp", line 287: Error: #20: identifier "WIRELESS_INTERFACE_COUNT" is undefined
if (interfaceIndex >= WIRELESS_INTERFACE_COUNT)
^
"C:\MicroFrameworkPK_v4_2\DeviceCode\PAL\COM\sockets\sockets.cpp", line 297: Error: #70: incomplete type is not allowed
memcpy( wirelessConfig, &g_WirelessConfig.WirelessInterfaces[interfaceIndex], sizeof(SOCK_WirelessConfiguration) );
^
"C:\MicroFrameworkPK_v4_2\DeviceCode\PAL\COM\sockets\sockets.cpp", line 307: Error: #20: identifier "WIRELESS_INTERFACE_COUNT" is undefined
if (interfaceIndex >= WIRELESS_INTERFACE_COUNT)
^
"C:\MicroFrameworkPK_v4_2\DeviceCode\PAL\COM\sockets\sockets.cpp", line 312: Error: #70: incomplete type is not allowed
memcpy( &g_WirelessConfig.WirelessInterfaces[interfaceIndex], wirelessConfig, sizeof(SOCK_WirelessConfiguration) );
^
"C:\MicroFrameworkPK_v4_2\DeviceCode\PAL\COM\sockets\sockets.cpp", line 662: Error: #70: incomplete type is not allowed
SOCK_NetworkConfiguration current;
^
"C:\MicroFrameworkPK_v4_2\DeviceCode\PAL\COM\sockets\sockets.cpp", line 938: Error: #70: incomplete type is not allowed
memcpy( &g_NetworkConfig.NetworkInterfaces[index], cfg, sizeof(SOCK_NetworkConfiguration) );
^
"C:\MicroFrameworkPK_v4_2\DeviceCode\PAL\COM\sockets\sockets.cpp", line 971: Error: #20: identifier "WIRELESS_INTERFACE_COUNT" is undefined
if(index >= WIRELESS_INTERFACE_COUNT) return;
^
"C:\MicroFrameworkPK_v4_2\DeviceCode\PAL\COM\sockets\sockets.cpp", line 975: Error: #70: incomplete type is not allowed
memcpy( &g_WirelessConfig.WirelessInterfaces[index], cfg, sizeof(SOCK_WirelessConfiguration) );

Thanks.

Kevin.

Refernece

I recommend that the compilation of firmware ND+ 4.2 will be better than 4.1 with followings.

1. Downloaded .net mf 4.2
2. Downloaded .net mf porting kit 4.2
3. Downloaded ND+ firmware 4.1.
4. Downloaded RVDS 4.1 Evaluation from ARM Co., Ltd.
5. call "c:\C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall x86_amd64"
6. setenv_RVDS4.1.cmd c:\rvds
7. msbuild solutions\NetduinoPlus\dotnetmf.proj /p:flavor=release;tcp_ip_stack=lwip /t:rebuild /m /v:m



#32929 To compile the source code with .net mf 4.1 for netduino plus

Posted by yiulsup on 31 July 2012 - 04:14 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi Nak. 1. .Net Micro Framework SDK 4.1 (QFE1) 2. .Net Micro Framework Porting Kit 4.1 (QFE1) 3. ND+ Firmware 4.1.0.6 4. setenv_RVDS4.0.cmd c:\rvds 5. 1st compilation with error which cann't execute command \armcc.exe, which was corrected by deleting letter \ in C:\MicroFrameworkPK_v4_1\tools\targets\Microsoft.SPOT.System.RVDS.targets 6. "C:\MicroFrameworkPK_v4_1\DeviceCode\include\..\Initialization\MasterConfig.h", line 12: Error: #5: cannot open source input file "platform_selector.h": No such file or directory is error for my compilation. above is also corrected with copying platform_selector.h to the C:\MicroFrameworkPK_v4_1\DeviceCode\include\..\Initialization. 7. Fuse the bootloader on Flash 8. Fuse the .net mf on Flash. No execution in deployment. Error. Kevin.



#33259 To compile the source code with .net mf 4.1 for netduino plus

Posted by yiulsup on 08 August 2012 - 07:10 AM in Netduino Plus 2 (and Netduino Plus 1)

To Advanced Member. With lucky to download the rvds 4.0 compiler from ARM distributor in S. Korea for evaluation, i could compile the netduino plus 4.1.0.6 with rvds 4.0 compiler. Using the binary code which was generated with compilation, i could make the netduino board work well without stop in booting up or deployment. Also I checked the led on/off with c# programming and server/client ethernet connection. Thanks. Kevin.



#33198 To compile the source code with .net mf 4.1 for netduino plus

Posted by yiulsup on 07 August 2012 - 03:56 AM in Netduino Plus 2 (and Netduino Plus 1)

I compiled the netduino plus firmware with rvds 4.1, .net mf 4.1, .net mf porting kit 4.1, and netduino plus firmware source 4.1.0.6. Without any error in compiling, the compiler built the binary code for netduino plus 4.1 such as ER_FLASH and ER_CONFIG. To my disappointing, the netduino plus board didn't work after deploying ER_FLASH and ER_CONFIG. In my thinking, the fusing on flash was good without error message. My modification included the followings in compilation. 1. Microsoft.Spot.system.rvds. 2. platform_selector.h 3. lwip_selector.h Thanks. Kevin



#32936 To compile the source code with .net mf 4.1 for netduino plus

Posted by yiulsup on 31 July 2012 - 07:32 AM in Netduino Plus 2 (and Netduino Plus 1)

To Nak i have below after compiling the ND+ with your advice when ocurring error for executing application. TinyBooterDecompressor.bin : 42KB TinyBooterDecompressor.hex : 124KB ER_CONFIG : 7KB ER_FLASH : 1,047KB const BlockRange g_SAM7X_BS_BlockRange[] = { // { BlockRange::BLOCKTYPE_BOOTSTRAP , 0, 8 }, { MEMORY_BLOCKTYPE_GCC_SPECIAL_BOOTSTRAP, 9, 52 }, { BlockRange::BLOCKTYPE_CODE , 53, 58 }, { MEMORY_BLOCKTYPE_GCC_SPECIAL_CODE , 59, 59 }, { BlockRange::BLOCKTYPE_DEPLOYMENT , 60, 60 }, { BlockRange::BLOCKTYPE_STORAGE_A , 61, 61 }, { BlockRange::BLOCKTYPE_STORAGE_B , 62, 62 }, { BlockRange::BLOCKTYPE_CONFIG , 63, 63 } }; <!-- ################################################################################ --> <!-- 16KB Stack and 16KB Heap --> <Set Name="Heap_Begin" Value="0x00010000"/> <Set Name="Heap_End" Value="0x00017ff8"/> <Set Name="Stack_Bottom" Value="0x00018000"/> <Set Name="Stack_Top" Value="0x0001FFF8"/> <If Name="TARGETLOCATION" In="FLASH"> <Set Name="Code_BaseAddress" Value="0x00112000"/> <Set Name="Deploy_BaseAddress" Value="0x00176000"/> <Set Name="Code_Size" Value="%Deploy_BaseAddress - Code_BaseAddress%"/> <Set Name="Config_BaseAddress" Value="0x0017E000"/> <Set Name="Config_Size" Value="0x00002000"/> <Set Name="Valid" Value="true"/> </If> <!-- ################################################################################ --> <Set Name="Stack_Bottom" Value="0x00018000"/> <Set Name="Stack_Top" Value="0x0001FFF8"/> <If Name="TARGETLOCATION" In="FLASH"> <!-- MOTE2 has 32MB of 16-bit FLASH at 0x00000000 --> <Set Name="Code_BaseAddress" Value="0x00100000"/> <Set Name="Code_Size" Value="0x00014000"/> <Set Name="Valid" Value="true"/> Kevin



#32601 To compile the source code with .net mf 4.1 for netduino plus

Posted by yiulsup on 24 July 2012 - 09:33 AM in Netduino Plus 2 (and Netduino Plus 1)

To Nak I installed Visual Studio 2010 and .NET Framework 4.0. Kevin



#32641 To compile the source code with .net mf 4.1 for netduino plus

Posted by yiulsup on 25 July 2012 - 01:03 AM in Netduino Plus 2 (and Netduino Plus 1)

I forgot to say that my RVDS version 4.1 is evaluation from ARM Co. Ltd.



#32260 To compile the source code with .net mf 4.1 for netduino plus

Posted by yiulsup on 19 July 2012 - 07:00 AM in Netduino Plus 2 (and Netduino Plus 1)

To Netduino Family. I tried to compile the source code .net mf 4.1 and netduino plus source code 4.1.0.6. After compiling, I tried to fuse the binary code on the flash of sam7x512 for netduino plus. Without any error from compiling and fusing, I happened to meet some huddle for my netduino plus on which .net mf 4.1 and netduino plus binary code is running. My huddle is the ethernet connection can't establish, even if my IP setting with MFDeploy. Where is the hint to solve this problem which I face now. I give some my facts that another program for gpio, led, ADC(analog to digital converter) was working very well. Only ethernet program didn't work for netduino plus.



#32596 To compile the source code with .net mf 4.1 for netduino plus

Posted by yiulsup on 24 July 2012 - 08:53 AM in Netduino Plus 2 (and Netduino Plus 1)

To Nak. I can't find out where is the batch file for RVDS 4.2. Kevin.



#32338 To compile the source code with .net mf 4.1 for netduino plus

Posted by yiulsup on 20 July 2012 - 08:36 AM in Netduino Plus 2 (and Netduino Plus 1)

I have one huddle for compiling the firmware. I could not compile the firmware ND+ 4.1.0.6 with lwip. There is no room or space for flash on SAM7x512 of Netduino Plus. Even if best effort for fitting the size of flash, it is useless for me. Thanks. Kevin



#32513 To compile the source code with .net mf 4.1 for netduino plus

Posted by yiulsup on 23 July 2012 - 08:31 AM in Netduino Plus 2 (and Netduino Plus 1)

To Nak. I understand the meaning which you hint at me. But I couldn't compile the ND+ with RVDS 4.1 from ARM Co., Ltd. When compiliation for ND+ with RVDS, There is some error in compiling for RVDS. I have a questions for my compiling with RVDS. 1. Is there any firmware code for RVDS compiler from ARM? 2. Is there RVDS 3.1 or 4.0 compiler for ND+? 3. Pls with step by step, describe or write for me how to compile with RVDS for ND+ Thanks. Kevin



#32582 To compile the source code with .net mf 4.1 for netduino plus

Posted by yiulsup on 24 July 2012 - 12:09 AM in Netduino Plus 2 (and Netduino Plus 1)

Error Message is "Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it has ToolsVersion="3.5". 'cscript' is not the command to batch or execute. My step are 1. Downloaded the NETMF 4.1 porting kit. and intall it in a c:\pk41 2. Downloaded the netduino 4.1 firmware source and copy it to the root of PK directory. 3. setenv_RVDS4.0.cmd c:\rvdsnetduino 4. executed the command msbuild /p:flavor=release;memory=flash;tcp_ip_stack=lwip /t:rebuild /v:d /m My RVDS compiler version is 4.1 from ARM Co. Ltd. Thanks. Kevin



#32990 ADC

Posted by yiulsup on 01 August 2012 - 11:41 PM in Netduino Plus 2 (and Netduino Plus 1)

To laurentiss

The more speed is possible for built-in ADC with modifying the native source code which I done before.

With modifying the native code for ADC releated managed code, I can attain speed which i want to reach.

Kevin



#29900 The problem with earse pin in netduino plus

Posted by yiulsup on 29 May 2012 - 12:52 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi netduino wiki. I have something to decompose in netduino plus. With erase pin for logic high(3.3V) on power-up, my laptop doesn't talk netduino plus which was erased. Device manager in laptop connected with netduino plus for but miscellaneous not usb of unknown device. My tryings are below. 1. Wired with logic high in erase pin on power-up. 2. Connected the usb cable between laptop and netduino plus. 3. Check the device manager which showed that connecting with miscellaneous of unknown device. 4. There wasn't any progress on me after above. 5. No samba connection with RS232 or USB. Thanks ahead.



#29906 The problem with earse pin in netduino plus

Posted by yiulsup on 29 May 2012 - 04:48 AM in Netduino Plus 2 (and Netduino Plus 1)

I tried with you mentioned above. But there is useless for me to connect the netduino plus with my laptop. Still unknown device in usb is on device manager. Thanks ahead



#29907 The problem with earse pin in netduino plus

Posted by yiulsup on 29 May 2012 - 04:50 AM in Netduino Plus 2 (and Netduino Plus 1)

My Windows is Windows 7, 64bit with Korean Edition of Ultimate



#29916 The problem with earse pin in netduino plus

Posted by yiulsup on 29 May 2012 - 07:42 AM in Netduino Plus 2 (and Netduino Plus 1)

I tried with above you adviced. But my labtop doesn't talk to netduino plus with device manager which showed that device driver for netduino doesn't working with Exclamation mark named netduino. I think there is something in .inf file for modifying and windows 7 with 64bit will be something in correction. Thanks Chris. Your time make me smile.



#43561 How to compile firmware 4.2 for netduino plus 2

Posted by yiulsup on 16 January 2013 - 11:59 PM in Netduino Plus 2 (and Netduino Plus 1)

Thanks your reply to me with how to convert and how to flash.

 

Can you give me some advice on "setenv_rvds RVDS4.0 is correct?"

 

I couldn't compile with RVDS 4.0 for firmware 4.2 of Netduino plus 2.

 

Thanks

 

Kevin Page




#43517 How to compile firmware 4.2 for netduino plus 2

Posted by yiulsup on 16 January 2013 - 08:08 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi there,

 

This is kevin to try to compile the firmware 4.2 for netduino plus 2.

 

Even if trying to get the content including how to compile for ND+2 firmware 4.2, There is no any place to be for how to.

 

So I ask some step to follow how to compile from scratch to begin with installing Porting Kit 4.2 and firmware 4.2.

 

as bellow.

 

1. To download Porting Kit 4.2

2. To download firmware 4.2 for netduino plus 2.

3. To install all.

4. To download gcc or RVDS arm compiler from where.

5. To install arm compiler

6. setenv_base.com c:rvds or c:gcc

7. msbuild /t:build /p:flavor=release;tcp_ip_stack=lwip

8. How to convert the binary to dfu for STM32F4.

7. How to flash dfu file on STM32F4 with MFDEPLOY.

 

 

As i already compiled netduino plus without error, I can understand mean you want to guide.

 

Thanks Ahead.

 

Kevin Page

 

 

 




#36755 .net mf 4.2 working problem in ethernet

Posted by yiulsup on 08 October 2012 - 06:26 AM in Netduino Plus 2 (and Netduino Plus 1)

To Netduino Community. After .net mf 4.2 compiling with RVDS 4.0, i flashed bootloader(tinydecompressor.bin) and .net mf version 4.2 (ER_CONFIG, ER_FLASH). It worked very well in opration excluding the Ethernet Function. I tried to register the number of IP Address, and Gateway on MFDeploy for Ethernet Connection. But Even if to modify the IP Adddress on MFDeploy, ND+ didn't work on MFDeploy. The more worse is to lost the .net mf and reboot with bootloader of tinybooter. My steps are .... 1. To compile with msbuild /t:build /p:flavor=release;tcp_ip_stack=lwip /v:m /m 2. With SAMBA, I flashed bootloadder. i check the bootloader with MFDeploy. 3. To flash the .net mf with MFDeploy. 4. To configure the IP Address for .NET MF of ND+. 5. It didn't work. ... The other function such as GPIO and SPI were working well..... Thanks. Kevin



#36756 .net mf 4.2 working problem in ethernet

Posted by yiulsup on 08 October 2012 - 06:29 AM in Netduino Plus 2 (and Netduino Plus 1)

I coudn't modify the IP Address and Gateway on MFDeploy. when i tried above, MFDeploy was useless or lost connection with ND+ Thanks Kevin



#26294 How to back to alive from firmware updating failure

Posted by yiulsup on 03 April 2012 - 02:34 AM in Netduino Plus 2 (and Netduino Plus 1)

I tried to update the firmware in Netduino Plus. 1. To fuse the ER_CONFIG with MFDEPLOY : completed 2. To fuse the ER_FLASH with MFDEPLOY : Incompleted After that, there was message which is "Deploy Error" on updating firmware. now, MFDeploy cann't fuse the flash with ER_CONFIG.hex anymore. and ping didn't get the answer from Netduino plus in MFDeploy.




home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.