NNDK2.3 RC3 Now Available (1/14/09)
NNDK2.3 RC3 Now Available (1/14/09)
Hello all,
The latest beta release for the tools is now available to download from http://support.netburner.com
Changes in 2.3 RC3:
----------------------------
* New Managed Project Type: Library, builds a library .a file for NetBurner modules
* Build Automatically is once again enabled by default. This can be disabled Project->Build Automatically
* Assembler support for managed projects
* Standard Eclipse platform help files included with release
* Eclipse/CDT plugin updated to latest Ganymede release
* SSH examples now properly installed
* USB Driver for new MOD DEV100 boards will now install with the NNDK
As always, this is a beta release and is released to users for testing and evaluation. This release is fully tested by NetBurner, but, being a beta release, is not recommended for use in commercial products.
The latest beta release for the tools is now available to download from http://support.netburner.com
Changes in 2.3 RC3:
----------------------------
* New Managed Project Type: Library, builds a library .a file for NetBurner modules
* Build Automatically is once again enabled by default. This can be disabled Project->Build Automatically
* Assembler support for managed projects
* Standard Eclipse platform help files included with release
* Eclipse/CDT plugin updated to latest Ganymede release
* SSH examples now properly installed
* USB Driver for new MOD DEV100 boards will now install with the NNDK
As always, this is a beta release and is released to users for testing and evaluation. This release is fully tested by NetBurner, but, being a beta release, is not recommended for use in commercial products.
Forrest Stanley
Project Engineer
NetBurner, Inc
NetBurner Learn Articles: http://www.netburner.com/learn
Project Engineer
NetBurner, Inc
NetBurner Learn Articles: http://www.netburner.com/learn
Re: NNDK2.3 RC3 Now Available (1/14/09)
Forrest,
could you, please, add item "user space in SRAM is decreased by 12 Kbytes" to the release notes?
Such a note will help me and other SRAM users to prepare the switch to the new NNDK release.
Now I (suddenly) need to reduce SRAM consumption in my application.
My linker map shows, that the value of USER_VAR_SECT is 0x2000b9e0 in NNDK2.3 RC3.
For the same application, the value of USER_VAR_SECT is 0x200089e0 in NNDK2.2 RC3.
could you, please, add item "user space in SRAM is decreased by 12 Kbytes" to the release notes?
Such a note will help me and other SRAM users to prepare the switch to the new NNDK release.
Now I (suddenly) need to reduce SRAM consumption in my application.
My linker map shows, that the value of USER_VAR_SECT is 0x2000b9e0 in NNDK2.3 RC3.
For the same application, the value of USER_VAR_SECT is 0x200089e0 in NNDK2.2 RC3.
Yevgeni Tunik
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Outdated documentation for NNDK2.3 RC3
Forrest,
the following documents are outdated for NNDK2.3 RC3:
1. "NetBurner Eclipse IDE. Getting Started Guide. Revision 2.3, September 24, 2008".
For example, I see some difference during creatinf a new project.
2. GNU documentation, especially assembler and C compiler.
"Using as. The gnu Assembler. Version 2.9.5".
The actual version is:
C:\Nburn\gcc-m68k\bin>m68k-elf-as.exe -v
GNU assembler version 2.18.50 (m68k-elf) using BFD version (GNU Binutils) 2.18.50.20070820
"Using and Porting the GNU Compiler Collection. Richard M. Stallman. Last updated 22 June 2001 for GCC 3.1".
The actual version is:
C:\Nburn\gcc-m68k\bin>m68k-elf-g++ -v
...
gcc version 4.2.1
the following documents are outdated for NNDK2.3 RC3:
1. "NetBurner Eclipse IDE. Getting Started Guide. Revision 2.3, September 24, 2008".
For example, I see some difference during creatinf a new project.
2. GNU documentation, especially assembler and C compiler.
"Using as. The gnu Assembler. Version 2.9.5".
The actual version is:
C:\Nburn\gcc-m68k\bin>m68k-elf-as.exe -v
GNU assembler version 2.18.50 (m68k-elf) using BFD version (GNU Binutils) 2.18.50.20070820
"Using and Porting the GNU Compiler Collection. Richard M. Stallman. Last updated 22 June 2001 for GCC 3.1".
The actual version is:
C:\Nburn\gcc-m68k\bin>m68k-elf-g++ -v
...
gcc version 4.2.1
Yevgeni Tunik
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Error in document "NetBurner Runtime Libraries Revision 1.6"
Forrest,
Document "NetBurner Runtime Libraries Revision 1.6 June 10, 2008 Released" needs to be fixed:
In 5.13.1. CmdIdleTimeout,
line "The number of seconds a connection is idle before it is terminated due to inactivity."
needs to be replaced with
line "The number of OS ticks a connection is idle before it is terminated due to inactivity."
Document "NetBurner Runtime Libraries Revision 1.6 June 10, 2008 Released" needs to be fixed:
In 5.13.1. CmdIdleTimeout,
line "The number of seconds a connection is idle before it is terminated due to inactivity."
needs to be replaced with
line "The number of OS ticks a connection is idle before it is terminated due to inactivity."
Yevgeni Tunik
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Re: NNDK2.3 RC3 Now Available (1/14/09)
This is actually a bug. In the file:
C:\Nburn\include\predef.h
line 107 should be commented out
//#define NB_SSH_SUPPORTED ( 1 )
After commenting out the line you will need to rebuild the system files and then you should get back the 12K of SRAM. When SSH is enabled it requires that the system stack increase by about 50% which is where the 12K went. Sorry about that one.
-Larry
C:\Nburn\include\predef.h
line 107 should be commented out
//#define NB_SSH_SUPPORTED ( 1 )
After commenting out the line you will need to rebuild the system files and then you should get back the 12K of SRAM. When SSH is enabled it requires that the system stack increase by about 50% which is where the 12K went. Sorry about that one.
-Larry
Re: NNDK2.3 RC3 Now Available (1/14/09)
When i click on NBEclipse and then Rebuild All System Files, i get an error:
"Error: Unable to find platform definition"
"Error: Unable to find platform definition"
Re: NNDK2.3 RC3 Now Available (1/14/09)
After commenting out this line:
- Command "Rebuild All System Files" is failed with error message "Error: Unable to find platform definition".
- Command "Rebuild Modified System Files" is failed with Java error message about the NULL pointer.
The rebuild was fixed by the following curious sequence:
- Copy the modified C:\Nburn\include\predef.h into my project folder.
- Clean rebuilt of my project.
- Command "Rebuild Modified System Files".
- Command "Rebuild All System Files".
Then, I actually get back the 12K of SRAM.
- Command "Rebuild All System Files" is failed with error message "Error: Unable to find platform definition".
- Command "Rebuild Modified System Files" is failed with Java error message about the NULL pointer.
The rebuild was fixed by the following curious sequence:
- Copy the modified C:\Nburn\include\predef.h into my project folder.
- Clean rebuilt of my project.
- Command "Rebuild Modified System Files".
- Command "Rebuild All System Files".
Then, I actually get back the 12K of SRAM.
lgitlitz wrote:This is actually a bug. In the file:
C:\Nburn\include\predef.h
line 107 should be commented out
//#define NB_SSH_SUPPORTED ( 1 )
After commenting out the line you will need to rebuild the system files and then you should get back the 12K of SRAM. When SSH is enabled it requires that the system stack increase by about 50% which is where the 12K went. Sorry about that one.
-Larry
Yevgeni Tunik
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Re: NNDK2.3 RC3 Now Available (1/14/09)
I have been unable to duplicate the rebuild all/rebuild modified errors. Can you describe the situation in more detail? Do you have an open project when you get this error?
Forrest Stanley
Project Engineer
NetBurner, Inc
NetBurner Learn Articles: http://www.netburner.com/learn
Project Engineer
NetBurner, Inc
NetBurner Learn Articles: http://www.netburner.com/learn
Re: NNDK2.3 RC3 Now Available (1/14/09)
Forrest, I also cannote reproduce the major error at the "clean" computer. The exact scenario is as the following.
1. Install NNDK2.3 RC3 on a "clean" computer (where NDDK wasn't previously).
2. Select the new workspace outside Nburn tree.
3. Create the new project with NB wizard. Only "enable network debug" option is checked.
4. Verify, that compilation of the generated project pass Ok.
5. Add line "static int array[3*2048] FAST_USER_VAR;" before any function at main.cpp file.
6. Add fragment
// Use SRAM variables.
for( int i=0; i<(3*2048); i++ )
{
array[ i ] = 0;
}
just before the originally generated line " iprintf("Application started\n");" at main.cpp file.
7. The compilation failed with the following error messages:
Description Resource Path Location Type
region SRAM overflowed by 6656 bytes SRAM_use 0 C/C++ Problem
SRAM_use.elf section .SRAM_SECT will not fit in region SRAM SRAM_use 0 C/C++ Problem
8. Command "Rebuild All System Files" without touch of any file in C:\Nburn\include folder and with still opened user project is failed with the following error message: "Error: Unable to find platform definition".
9. Command "Rebuild Modified System Files" without touch of any file in C:\Nburn\include folder and with still opened user project is finished Ok.
10. Comment out the line "#define NB_SSH_SUPPORTED ( 1 )" in C:\Nburn\include\predef.h
11. Command "Rebuild Modified System Files" with still opened user project is finished Ok.
12. Clean build of the user project is finished Ok.
1. Install NNDK2.3 RC3 on a "clean" computer (where NDDK wasn't previously).
2. Select the new workspace outside Nburn tree.
3. Create the new project with NB wizard. Only "enable network debug" option is checked.
4. Verify, that compilation of the generated project pass Ok.
5. Add line "static int array[3*2048] FAST_USER_VAR;" before any function at main.cpp file.
6. Add fragment
// Use SRAM variables.
for( int i=0; i<(3*2048); i++ )
{
array[ i ] = 0;
}
just before the originally generated line " iprintf("Application started\n");" at main.cpp file.
7. The compilation failed with the following error messages:
Description Resource Path Location Type
region SRAM overflowed by 6656 bytes SRAM_use 0 C/C++ Problem
SRAM_use.elf section .SRAM_SECT will not fit in region SRAM SRAM_use 0 C/C++ Problem
8. Command "Rebuild All System Files" without touch of any file in C:\Nburn\include folder and with still opened user project is failed with the following error message: "Error: Unable to find platform definition".
9. Command "Rebuild Modified System Files" without touch of any file in C:\Nburn\include folder and with still opened user project is finished Ok.
10. Comment out the line "#define NB_SSH_SUPPORTED ( 1 )" in C:\Nburn\include\predef.h
11. Command "Rebuild Modified System Files" with still opened user project is finished Ok.
12. Clean build of the user project is finished Ok.
8.Forrest wrote:I have been unable to duplicate the rebuild all/rebuild modified errors. Can you describe the situation in more detail? Do you have an open project when you get this error?
Yevgeni Tunik
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Re: NNDK2.3 RC3 Now Available (1/14/09)
Will, or has the debugger issue been resolved? There have been multiple threads concerning the fact that the example in the Eclipse guide ("AppWizard"), does not work.
Thanks in advance,
Frank
Thanks in advance,
Frank