Have you looked at the NET-X Webserver example? I think it uses some kind of RAM or Flash storage for HTML. I don't remember how they are encoded, but they do end up being translated to structures stored in the memory map. The project files were included in the earlier pre v1.0 SSP release packages.
↧
Forum Post: RE: Create ramdisk for FileX access
↧
Forum Post: RE: USB Boot Mode
Same question: I tried Windows Update without success. The drivers are not found. Does Renesas have the drivers and the information to use them? Or better, the program to flash the Synergy micros?
↧
↧
Forum Post: Error on debug launch
Hi all, I just received my SK-S7G2 kit today and I was excited to test it. I started with the small tutorial on the "Quick start guide" provided in the box. But when starting debugging, I always end up with this error: I tries to re-install the software, re plug the board, run e2studio as admin, but nothing works. Does anyone have encounter this error and solved it ? Google does not helped. Running Windows 7 SP1.
↧
Forum Post: RE: FTP Support?
I have an FTP server along with HTTP server working but FTP client does not work. I'm using the same nx_ip instance when instantiating the FTTP server, HTTP server and FTP client NX instances. For the FTP client error case, the return code for nx_ftp_client_connect is 0x38 which is NX_NOT_CONNECTED (Socket is not in a connected state). Here is the FTP client snippet code: /* Create an FTP client. */ status = nx_ftp_client_create(&ftp_client, "FTP Client", &ip_0, 2000, &client_pool); /* Check status. */ if (status != NX_SUCCESS) { error_counter++; return; } printf("Created the FTP Client\n"); /* Now connect with the NetX FTP (IPv4) server. */ status = nx_ftp_client_connect(&ftp_client, HOST_FTP_SERVER_ADDRESS, "anonymous", "password", TX_WAIT_FOREVER); // THIS RETURNS CODE 0x38 - Socket not in connected State /* Check status. */ if (status != NX_SUCCESS) { error_counter++; return; } printf("Connected to the FTP Server\n"); Can anyone please advise how to go about debugging the socket unconnected state? I am able to ping between the board and host and the ftp server (board as server, with host as client) works. I am trying the do the reverse...FTP client (where board is the client and host is the server...the host is running FileZilla) I have debugged using wireshark on the host and am able to see this packet from the board (10.1.1.10) to the host (10.1.1.2) 552 320.209564 10.1.1.10 10.1.1.2 TCP 62 [TCP Retransmission] 30000 ? 21 [SYN] Seq=0 Win=2000 Len=0 MSS=1460 but there is no response from the host
↧
Forum Post: RE: Create ramdisk for FileX access
The USB mass storage DEVICE example has a ramdisk over FileX instance where one can expose this disk over said USB DEVICE to the host. You can also use onboard eMMC for a non-volatile option (instead of the ramdisk which is volatile). We have been able to do that as well.
↧
↧
Forum Post: Issue Using UART and SPI on the same port
In SSP 1.0.0 the open for the UART does not clear the registers to their default values and the SMR bits are still set from the SPI use. This will cause issues when trying to use it in uart mode. The work around is to clear the SMR & SMR_SMCI registers prior to use as another port. This issue should be fixed in the next release of SSP.
↧
Forum Post: RE: Error on debug launch
Antoine- Can you tell me a bit more about your set-up? Which version of e2 studio and SSP are you using? Did you make sure NOT to uncheck the debugger option select when you installed? Can you tell if your USB driver to the debugger is installed? Does it show up in windows device manager? You might also check your install path. Unfamiliar characters can upset Eclipse operation...
↧
Forum Post: RE: porting a Linux/POSIX application to ThreadX
Thanx!
↧
Forum Post: RE: Create ramdisk for FileX access
Hi Calvin, Thank you for your reply, I have already run the demo NetX webserver and everything works correctly. I noticed that HTML tags are encoded in the file demo_nx_http_htmlstrings.h, and every line of code are in the format #define titleline " HEAD TITLE NetX HTTP Server /TITLE /HEAD \r\n" My HTML code is already registered in a index.html file, I would read this file directly with FileX instead of having to rewrite all the code in this format. Also my web page contains CSS for the graphics, and I do not think I can incorporate it into the format used in the demo NetX. Any ideas please ? Ashwin, thank you I will try the Renesas Synergy™ Project USBX™ Mass Storage Class (Device) demo tomorrow !
↧
↧
Forum Post: RE: Create ramdisk for FileX access
Hi Alex, The easiest would be for you to incorporate the data for your files into the code as C arrays. This utility seems to do the trick: sourceforge.net/.../bin2header Andres
↧
Forum Post: RE: Create ramdisk for FileX access
Hi Andres, nice thank you ! I will try it tomorrow and come here if I have any problems.
↧
Forum Post: RE: FTP Support?
Hi Ashwin, I've been through this before. The problem was the time wasn't enough for IP_create to complete its task. So, you might want to use the following code to proceed. do { status = nx_ip_status_check(&ip_0, NX_IP_RARP_COMPLETE, &dhcp_status, 100); } while (dhcp_status != NX_IP_RARP_COMPLETE);
↧
Forum Post: RE: Help required in Porting of existing code (developed in C)
Please also refer to this thread. renesasrulz.com/.../6328.aspx
↧
↧
Forum Post: RE: Programming through Self-Programming
There's more info on dates in this tread. renesasrulz.com/.../19357.aspx Note that your local Renesas FAE should have information related to future release dates and features. That information is not generally released on the web, but
↧
Blog Post: Getting to Work with the Renesas Synergy e2 studio ISDE
Flash back a few decades to my dad taking me into the garage for the first time to see his vast collection of shiny tools. Drill. Bench vise. Soldering iron. I loved each and every one of those tools and greatly appreciated him showing me how to use them. But what I really loved most of all was his workbench. To build something cool, it helps to have a great workbench. The Renesas Synergy e 2 studio ISDE is my workbench of choice for creating differentiated applications. And much like that good old workbench in the garage, e 2 studio is based on a very familiar and trusted foundation – Eclipse, the de-facto standard for embedded integrated development environments (IDE). My confidence is further reinforced by the knowledge that e 2 studio itself is a market-tested, proven product. Renesas customers have been using e 2 studio for many years to support application development with Renesas MCUs – long before the Synergy Platform was in the picture. e 2 studio provides everything you’d expect in a good IDE: automated code generation, formatting and code constructs; keyword color coding of source code; code navigation; templates; jump to declarations; a built-in spell checker and auto variable completion while writing. What’s really impressive is how much Renesas has improved e 2 studio in bringing the Synergy Platform to market. With the Synergy Platform, Renesas has integrated a variety of powerful tools into e 2 studio, which Renesas claims has transformed it from an IDE to an Integrated Solution Development Environment (ISDE). So what promotes an IDE to an ISDE? Following are a few of the new capabilities that have been implemented into e 2 studio that I’ve found very helpful to guide, assist, error-check and provide alternative recommendations to me as I configure Synergy MCU functions and Synergy Software API function calls: Graphical configurators: Let me assign MCU pin functions and interrupts source; set clock and peripherals Graphical software configurator: Allows me to assign individual real-time operating system (RTOS) thread objects; customize peripheral drivers and the hardware abstraction layer (HAL) Configurable automatic generation and initialization: Based on my configuration selections, automatically generates C header files; initializes C code to enables end-application code development to start immediately Comprehensive Smart Manual: Helps me get immediate reference to user manual information by simply hovering my mouse over highlighted MCU register names and API structures License management: Enables me to manage SSP source and license files As a great example of Renesas' continuous improvement of the Synergy e 2 studio IDE, click on each of the below animated .gifs to see the the productivity improvements using Synergy Audio Framework in e 2 studio v4.x vs. using the Synergy Audio Framework in the latest release, e 2 studio v5.0. For the biggest impact, open up each of the animated gifs in separate windows and watch them side-by-side. All I can say is wow! Getting your juices flowing now? We’re just at the tip of the iceberg, my friends. Over the next few weeks, we’ll explore the many facets of development using the Synergy e 2 studio ISDE. The paths for discovery are extensive; allow me to share a roadmap of our upcoming journey together. Over the next couple of weeks, I’ll share my experience with two powerful tools from Express Logic that are tuned to work seamlessly with the Synergy e 2 Studio ISDE: GUIX Studio (for innovative graphical user interface creation) and TraceX (for real-time system behavior visualization and analysis.) In subsequent weeks, we’ll get into the meat of how the Synergy e 2 studio ISDE guides the design process in three intuitive phases, which Renesas characterizes as the Preparation Phase, the Build Phase and the Debug Phase. Your challenge, should you choose to accept it, is to memorize – and begin to apply – all of the rich information in this series of articles. Your reward for achievement? In a month or so, you’ll be a certified (or, at least, certifiable) Synergy e 2 Studio ISDE expert! Live long and profit! Professor_IoT Hot Tip of Week Renesas hosts a variety of Synergy Platform-related videos on the RenesasPresents Youtube channel. For example, check out the keynote address from REA CEO Ali Sebt at DevCon 2015 as he describes the vision behind the Synergy Platform . Check out other Synergy Platform-related videos and subscribe to RenesasPresents to keep tabs on the latest new videos.
↧
Forum Post: RE: Error on debug launch
I Warren, thanks for helping! e2sutido version 4.3.0.007 is installed in C:\Renesas\e2_studio\. No I didn't un-checked anything during install. Looks like the driver is installed correctly:
↧
Forum Post: Latest Posts from Professor_IoT
If you haven't read my ramblings lately, you're missing out on the fun. Check out my posts over the past month: Developing Innovative Applications with Renesas Synergy Software (March 11) Using Synergy Platform Application Frameworks to Operate the API (March 17) Productized Software in the Chip Industry - Say What? Part 1 (March 25) Productized Software in the Chip Industry - Say What? Part 2 (April 1, no foolin') Getting to Work with the Renesas Synergy e2 Studio ISDE (April 7) Each of the articles has a Hot Tip of the Week to help you get the most out of your Synergy Platform experience. Live long and profit! Professor_IoT
↧
↧
Forum Post: RE: USB Boot Mode
Thanks, Calvin.
↧
File: Binary (or any format) to C array converter
This freeware program converts any file to a standard C byte array. There are several posts where the people needs to embed files in their firmware. This is the tool I made to do this, in case it can be useful for somebody else. Its tiny (and a bit slow), but as a programmer I tried to make the output pleasant and useful, with #define for the size and meaningful names. Enjoy!
↧
Forum Post: RE: Create ramdisk for FileX access
In the Files section I posted a tiny program that does the same as bin2header but with an output format that suits better my needs and, maybe, yours (it's a matter of taste). renesasrulz.com/.../3193.aspx
↧