- Netduino Forums
- → Jeka's Content
Jeka's Content
There have been 37 items by Jeka (Search limited from 08-May 23)
#37832 Netduino firmware compiling
Posted by Jeka on 23 October 2012 - 08:32 AM in Netduino Plus 2 (and Netduino Plus 1)
#37806 Netduino firmware compiling
Posted by Jeka on 22 October 2012 - 09:25 PM in Netduino Plus 2 (and Netduino Plus 1)
msbuild solutions\NetduinoPlus\dotnetmf.proj /p:flavor=release;tcp_ip_stack=lwip /t:rebuild
I'm installed RVDS4.1, downloaded QFE2 .NET MF sources, downloaeded netduino sources from netduino.com/downloads, and oh god! this compiles!
#37801 Netduino firmware compiling
Posted by Jeka on 22 October 2012 - 08:52 PM in Netduino Plus 2 (and Netduino Plus 1)
#37794 Netduino firmware compiling
Posted by Jeka on 22 October 2012 - 06:52 PM in Netduino Plus 2 (and Netduino Plus 1)
This means the resulting binary is too big to fit into the reserved flash area. It is strange, because RVDS usually produces the smallest code and there should be no problems; also Secret Labs uses RVDS for the official firmware build. I am not sure the published Netduino firmware source code is based on the latest QFE2 PK version, it could be for the earlier QFE1.
Alternatively, you can adjust the flash memory layout manually, search the forum for "blockrange".
Is it possible to take latest firmware sources for QFE2?
#37792 Netduino firmware compiling
Posted by Jeka on 22 October 2012 - 06:15 PM in Netduino Plus 2 (and Netduino Plus 1)
#37791 Netduino firmware compiling
Posted by Jeka on 22 October 2012 - 05:43 PM in Netduino Plus 2 (and Netduino Plus 1)
"D:\MicroFrameworkPK_v4_2\solutions\NetduinoPlus\dotnetmf.proj" (rebuild target ) (1) -> "D:\MicroFrameworkPK_v4_2\solutions\NetduinoPlus\TinyCLR\TinyCLR.proj" (Build t arget) (75) -> (BuildAXF target) -> EXEC : error : L6220E: Load region LR_FLASH size (416656 bytes) exceeds limit (401408 bytes). [D:\MicroFrameworkPK_v4_2\solutions\NetduinoPlus\TinyCLR\TinyC LR.proj] D:\MicroFrameworkPK_v4_2\tools\targets\Microsoft.SPOT.System.RVDS.targets(336 ,5): error MSB3073: The command " "C:\rvds\RVCT\Programs\4.0\400\win_32-pentium \armlink.exe" --keep *(.init_array) --no_keep_init_arrays --feedback D:\MicroF rameworkPK_v4_2\BuildOutput\THUMB\RVDS4.0\le\FLASH\release\NetduinoPlus\bin\tin yclr_NetduinoPlus_FLASH_release_RVDS4.0.feedback --debug --remove --unmangled --info sizes,totals,veneers,unused,libraries --map --xref --symbols --callgrap h --userlibpath D:\MicroFrameworkPK_v4_2\BuildOutput\THUMB\RVDS4.0\le\FLASH\rel ease\NetduinoPlus\lib --userlibpath D:\MicroFrameworkPK_v4_2\BuildOutput\THUMB\ RVDS4.0\le\ANY_MEDIA\release\lib --entry EntryPoint --symdefs D:\MicroFramewo rkPK_v4_2\BuildOutput\THUMB\RVDS4.0\le\FLASH\release\NetduinoPlus\bin\tinyclr.s ymdefs --list D:\MicroFrameworkPK_v4_2\BuildOutput\THUMB\RVDS4.0\le\FLASH\relea se\NetduinoPlus\bin\tinyclr.map --output D:\MicroFrameworkPK_v4_2\BuildOutput\T HUMB\RVDS4.0\le\FLASH\release\NetduinoPlus\bin\tinyclr.axf --scatter D:\MicroFr ameworkPK_v4_2\BuildOutput\THUMB\RVDS4.0\le\FLASH\release\NetduinoPlus\bin\tiny clr_scatterfile.txt D:\MicroFrameworkPK_v4_2\BuildOutput\THUMB\RVDS4.0\le\FLASH \release\NetduinoPlus\obj\Solutions\NetduinoPlus\TinyCLR\tinyclr_dat.obj D:\Mic roFrameworkPK_v4_2\BuildOutput\THUMB\RVDS4.0\le\FLASH\release\NetduinoPlus\obj\ Solutions\NetduinoPlus\TinyCLR\allocator.obj D:\MicroFrameworkPK_v4_2\BuildOutp ut\THUMB\RVDS4.0\le\FLASH\release\NetduinoPlus\obj\Solutions\NetduinoPlus\TinyC LR\tinyclr.obj D:\MicroFrameworkPK_v4_2\BuildOutput\THUMB\RVDS4.0\le\FLASH\rele ase\NetduinoPlus\lib\InteropAssembliesTable.lib SecretLabs_NETMF_Diagnostics.li b MFUpdate_PAL_stub.lib SecretLabs_NETMF_Diagnostics.lib LargeBuffer_hal_stubs. lib virtualkey_hal_stubs.lib Crypto_stub.lib GlobalLock_hal.lib TinyHal.lib AT9 1_PreStackInit.lib backlight_hal_stubs.lib batterycharger_hal_stubs.lib battery measurement_hal_stubs.lib DeploymentTransport.lib lcd_hal_stubs.lib cpu_cache_s tubs.lib cpu_DA_stubs.lib cpu_ebiu_stubs.lib cpu_LCD_stubs.lib AT91_SPI.lib cpu _watchdog_stubs.lib system_initialization_hal.lib asyncproccall_pal.lib Watchdo g_pal_stubs.lib blockstorage_pal.lib AT91_BL_EFC.lib Buttons_pal_stubs.lib COM_ pal.lib DebuggerPort_SSL_Config_stubs.lib i2c_pal.lib ssl_pal_stubs.lib AT91_EM AC_lwip.lib SAM7X_EMAC_LWIP_Config.lib sockets_pal_lwip.lib sockets_lwIP_pal.li b sockets_hal_async_LWIP.lib sockets_hal_sockets_LWIP.lib sockets_hal_dhcp_LWIP .lib sockets_hal_tcp_LWIP.lib sockets_hal_udp_LWIP.lib ETHERNET_loopback_lwip.l ib usb_pal.lib usb_pal_config_AT91SAM7.lib config_pal.lib events_pal.lib heap_p al.lib piezo_pal_stubs.lib SimpleHeap_stubs.lib SimpleHeap_config_stubs.lib tin ycrt_pal.lib AT91_AIC.lib AT91_GPIO.lib AT91_SAM.lib AT91_TIMER.lib AT91_TIME.l ib AT91_USB.lib AT91_I2C.lib BlockStorage_AddDevices_NetduinoPlus.lib Sam7x_BL_ config.lib Network_config_NetduinoPlus.lib fs_pal.lib FileSystem_Config_PAL_Net duinoPlus.lib Ink_pal_stubs.lib Gesture_pal_stubs.lib palevent_pal_stubs.lib Ti me_pal.lib TimeService_pal_stubs.lib cpu_mmu_stubs.lib ADC_HAL_NetduinoPlus.lib SAM7X_Bootstrap.lib usart_pal.lib AT91_USART.lib SD_BL.lib FS_FAT.lib SD_Confi g_HAL_NetduinoPlus.lib PWM_HAL_NetduinoPlus.lib native_double_pal.lib D:\MicroF rameworkPK_v4_2\BuildOutput\THUMB\RVDS4.0\le\FLASH\release\NetduinoPlus\lib\tmp _tinyclr.lib" exited with code 1. [D:\MicroFrameworkPK_v4_2\solutions\NetduinoP lus\TinyCLR\TinyCLR.proj]
#37789 Netduino firmware compiling
Posted by Jeka on 22 October 2012 - 05:35 PM in Netduino Plus 2 (and Netduino Plus 1)
#37787 Netduino firmware compiling
Posted by Jeka on 22 October 2012 - 04:53 PM in Netduino Plus 2 (and Netduino Plus 1)
#37785 Netduino firmware compiling
Posted by Jeka on 22 October 2012 - 04:43 PM in Netduino Plus 2 (and Netduino Plus 1)
4.0 is officially supported, 4.1 should work (with the same setenv*.cmd as for 4.0). You need only ARM compiler & linker to compile the firmware, no IDE or debugger is necessary (until you need it, of course).
I installed all to D:\rvds, which parameters must be used with setenv_rvds for correct compuling?
#37783 Netduino firmware compiling
Posted by Jeka on 22 October 2012 - 04:17 PM in Netduino Plus 2 (and Netduino Plus 1)
If you mean RVDS, then yes.
A full version of RVDS is needed?
4.0 is ok?
#37781 Netduino firmware compiling
Posted by Jeka on 22 October 2012 - 04:04 PM in Netduino Plus 2 (and Netduino Plus 1)
You'd need ARM cross-compiler to compile the firmware, such as ARM RVDS, Keil MDK or GCC (which requires certain source code modifications).
ARM Compiler toolchain 4.1 is okay?
#37776 Serial Buffer Size
Posted by Jeka on 22 October 2012 - 03:35 PM in Netduino Plus 2 (and Netduino Plus 1)
Copy the "BytesToRead" value to a local var immediately as the very first op in the event handler. That will guarantee that the actual bytes read is the count that you cached. Otherwise, since the high baud-rate, you could define a byte-array with less rooms than necessary.
Please, bear in mind that during the normal C# flow, there are bytes filling up the underlying UART buffer.
Cheers
This works! Big thanks!
#37774 Netduino firmware compiling
Posted by Jeka on 22 October 2012 - 03:25 PM in Netduino Plus 2 (and Netduino Plus 1)
My steps:
1. Downloaded QFE2 PK and extracted this to D:\MicroFrameworkPK_v4_2
2. Downloaded netduino firmware v4.2.0 source from netduino.com/downloads and extracted there with overwrite
3. Executed setenv_vs.bat with success
4. Execute this command:
D:\MicroFrameworkPK_v4_2\Solutions\NetduinoPlus>msbuild dotnetmf.proj /p:flavor=release;tcp_ip_stack=lwip /t:rebuild5. Result:
"D:\MicroFrameworkPK_v4_2\Solutions\NetduinoPlus\dotnetmf.proj" (rebuild target) (1) -> "D:\MicroFrameworkPK_v4_2\Solutions\NetduinoPlus\TinyBooter\TinyBooter.proj" (Build target) (2) -> (CoreSystemBuild target) -> D:\MicroFrameworkPK_v4_2\tools\targets\Microsoft.SPOT.System.Targets(143,5): error MSB4057: The target "BuildSigFiles" does not exist in the project. D:\MicroFrameworkPK_v4_2\tools\targets\Microso ft.SPOT.System.Targets [D:\MicroFrameworkPK_v4_2\Solutions\NetduinoPlus\TinyBooter\TinyBooter.proj] "D:\MicroFrameworkPK_v4_2\Solutions\NetduinoPlus\dotnetmf.proj" (rebuild target) (1) -> "D:\MicroFrameworkPK_v4_2\Solutions\NetduinoPlus\TinyCLR\TinyCLR.proj" (Build target) (74) -> "D:\MicroFrameworkPK_v4_2\clr\core\InteropAssembliesTable.proj" (Build target) (103) -> (GenerateInteropTable target) -> D:\MicroFrameworkPK_v4_2\clr\core\InteropAssembliesTable.proj(91,5): error MSB3491: Could not write lines to file "\\Solutions\NetduinoPlus\TinyCLR\CLR_RT_InteropAssembliesTable.cpp". The network p ath was not found.\r D:\MicroFrameworkPK_v4_2\clr\core\InteropAssembliesTable.proj(91,5): error MSB3491:
Where i'm wrong?
#37772 Serial Buffer Size
Posted by Jeka on 22 October 2012 - 03:12 PM in Netduino Plus 2 (and Netduino Plus 1)
#37767 Serial Buffer Size
Posted by Jeka on 22 October 2012 - 02:00 PM in Netduino Plus 2 (and Netduino Plus 1)
private void com1_DataReceived(object sender, SerialDataReceivedEventArgs e) { Thread.Sleep(50); if (serialPort.BytesToRead > 0) { byte[] buffer = new byte[serialPort.BytesToRead]; serialPort.Read(buffer, 0, serialPort.BytesToRead); string line = Encoding.UTF8.GetString(buffer); Debug.Print("Modem: " + line);
if more this receive only 512 bytes...
#37764 Serial Buffer Size
Posted by Jeka on 22 October 2012 - 01:14 PM in Netduino Plus 2 (and Netduino Plus 1)
#28980 Netduino Firmware v4.2.0 RC5 (Netduino + Netduino Plus)
Posted by Jeka on 14 May 2012 - 12:36 AM in Beta Firmware and Drivers
#27575 Netduino JTAG
Posted by Jeka on 18 April 2012 - 07:01 PM in Netduino Plus 2 (and Netduino Plus 1)
#27448 Netduino JTAG
Posted by Jeka on 17 April 2012 - 10:46 AM in Netduino Plus 2 (and Netduino Plus 1)
#25005 Communicating with Netduino via USB
Posted by Jeka on 03 March 2012 - 12:14 AM in Netduino 2 (and Netduino 1)
#24828 Netduino Firmware v4.2.0 RC4 (Netduino + Netduino Plus)
Posted by Jeka on 28 February 2012 - 09:25 PM in Beta Firmware and Drivers
#24820 Netduino Firmware v4.2.0 RC4 (Netduino + Netduino Plus)
Posted by Jeka on 28 February 2012 - 06:53 PM in Beta Firmware and Drivers
#24817 Netduino Firmware v4.2.0 RC4 (Netduino + Netduino Plus)
Posted by Jeka on 28 February 2012 - 06:01 PM in Beta Firmware and Drivers
#24804 Netduino Firmware v4.2.0 RC4 (Netduino + Netduino Plus)
Posted by Jeka on 28 February 2012 - 02:06 PM in Beta Firmware and Drivers
Hi Chris, you are not answered on my question, i think you are just missed it. =(Hi Ahmed,
The RC4 build has 48KB of flash for your application (not 64KB like .NET MF 4.1 provides).
We're working to increase the amount of flash available for applications...NETMF 4.2 grew a bit
Chris
Hello, i have two boards. I want flash one of them to 4.2 RC4. For develop with 4.2 version i need .NET MF 4.2 SDK.
If i install 4.2 SDK i need remove 4.1 SDK. Can i resume develop for board with 4.1 version of .NET MF?
#24704 Netduino Firmware v4.2.0 RC4 (Netduino + Netduino Plus)
Posted by Jeka on 26 February 2012 - 06:07 PM in Beta Firmware and Drivers
- Netduino Forums
- → Jeka's Content
- Privacy Policy