Quantcast
Channel: Renesas Synergy Platform
Viewing all 23645 articles
Browse latest View live

Forum Post: RE: BootLoader + Downloader USB CDC Single Slot Flashloader Error!


Forum Post: Problem with g_timer0.p_api->periodSet(g_timer0.p_ctrl, 3500, TIMER_UNIT_PERIOD_USEC)

$
0
0
Hello I am a new member in this group. I use IAR Embedded Workbench for Renesas Synergy with SSP 1.5 and i have a problem to use this fonction : g_timer0.p_api->periodSet(g_timer0.p_ctrl, 3500, TIMER_UNIT_PERIOD_USEC); It works correctly but when i change the delay over 8.7 ms, the delay is wrong, i think it's because the API change the internal clock of the timer to have bigger delay but not correctly Anybody know this problem please ? Thank you for your help

Forum Post: Xmodem Over TCP/IP

$
0
0
Hello , Is Xmodem Protocol be accessible or implemented over TCP/IP for data transfer?

Forum Post: RE: Problem with g_timer0.p_api->periodSet(g_timer0.p_ctrl, 3500, TIMER_UNIT_PERIOD_USEC)

$
0
0
Which Synergy device are you using? Which timer? Timer on GPT or or Timer on AGT? Which mode of operation: period timer or pwm? Regards, Richard

Forum Post: RE: How to avoid debugger always halts in "__get_ipsr_value()" during single step debugging (F10)?

$
0
0
Hi Ralph, This usually happens when context switch occurs during your step. Disabling thread-aware debugging will resolve this issue (however when paused you will only see call stack for active thread). Go to Run -> Debug Configurations, select your project on the right. Then select Debugger tab and then Debug Tool Settings inside it. RTOS Intergration in Debug View should be set to No: Regards

Forum Post: RE: R7FS7G2 Dev Kit SD Card

$
0
0
Hello, what is the project history - for example, was it migrated from IAR EW for Synergy to e2 studio? What toolchain is currently selected in your project? This information can be found in the: Synergy Configuraton window > Summary tab or in the: Project > Properties > C/C++ Build > Tool Chain Editor > Current toolchain. Depending on the toolchain selection, the following values should be set in the project properties: Project > Properties > C/C++ Build > Settings > (GCC ARM Embedded) Cross ARM GNU Assembler > Command line pattern: ${SECURE_BUILD_COMMAND} ${COMMAND} ${cross_toolchain_flags} ${FLAGS} -c ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} Cross ARM C Compiler > Command line pattern: ${SECURE_BUILD_COMMAND} ${COMMAND} ${cross_toolchain_flags} ${FLAGS} -c ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} -x c ${INPUTS} (IAR Toolchain for ARM - (8.x)) IAR C/C++ Compiler for ARM > Command line pattern: ${SECURE_BUILD_COMMAND} ${COMMAND} ${INPUTS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${FLAGS} IAR Assembler for ARM > Command line pattern: ${SECURE_BUILD_COMMAND} ${COMMAND} "${InputFileRelPath}" ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${FLAGS} Please also verify that you have the SECURE_BUILD_COMMAND environment variable defined in the: Project > Properties > C/C++ Build > Environment SECURE_BUILD_COMMAND = ${renesas.support.targetLoc:synergy-build}/isdebuild Best regards, anper

Forum Post: RE: when malloc fails allocation, it doesn't return NULL.

$
0
0
I can hardly believe that malloc returns an invalid address. I would rather assume that your application places the heap at an invalid address range.

Forum Post: RE: Problem with g_timer0.p_api->periodSet(g_timer0.p_ctrl, 3500, TIMER_UNIT_PERIOD_USEC)

$
0
0
Does the function return an error like SSP_ERR_INVALID_ARGUMENT?

Forum Post: In GUIX I am try to change value using update_text

$
0
0
Hi,in Guix i make two screen but when i enter value throw LCD touch screen then how to change the another screen value.here in first screen i was enter data and throw first screen change value in second screen here when i enter 5 then in second screen replace 4 to 5.i take reference of thermostat program and i used update text function but both screen has different function so it was not work. ex.

Forum Post: RE: Problem with g_timer0.p_api->periodSet(g_timer0.p_ctrl, 3500, TIMER_UNIT_PERIOD_USEC)

$
0
0
Hello, I encounter a similar problem with R_GPT in PWM mode and with ssp1.5.0-rc1 and e2studio v6.2.1. Indeed, if I choose a frequency, in output I see the half of the value of this frequency ... I tried to stop the timer before calling PeriodSet no effect ... Worse, the DutyCycle is not variable, it always remains at 50% ... This worked very well on older versions (e2studio 5 and ssp v1.33) I use GCC ARM Embedded Toolchain Version: 4.9.3.20150529 for Device: R7FS7G27G3A01CFP My code : memcpy(&_pwmcfg, g_PWM_DCDC.p_cfg, sizeof(timer_cfg_t)); _pwmcfg.duty_cycle=20; _pwmcfg.period=100; _err = g_PWM_DCDC.p_api->open(g_PWM_DCDC.p_ctrl, &_pwmcfg); uart_resultsend(_err); _err =g_PWM_DCDC.p_api->periodSet(g_PWM_DCDC.p_ctrl, _freqpwmdcdc, TIMER_UNIT_FREQUENCY_KHZ); uart_resultsend(_err); _err=g_PWM_DCDC.p_api->dutyCycleSet(g_PWM_DCDC.p_ctrl, 20, TIMER_PWM_UNIT_PERCENT, 0); uart_resultsend(_err); g_PWM_DCDC.p_api->start(g_PWM_DCDC.p_ctrl); On the output, frequency = 50KHz, and DT=50%... Thanks for your help. Eric

Forum Post: SD card using SPI on ARIS IOT Board

$
0
0
Hello I am trying to write and read into an SD card using the SD card slot on the ARIS IoT dev board. The SD card slot is connected to the SPI bus. I have tried using FileX so as to use the Fat32 file system but the SSP FileX only supports USB_MASS_STORAGE and the Block_Media SDMMC, which do not support SPI communication. They only provide communication through DMAC and DTC. How can I communicate, read and write data on the SD card on the Aris IOT board using the reneses SSP over the SPI bus? How can I include the Fat32 system. Can you please give your suggestions on a sample project? Thank you

Forum Post: RE: Secondary network interface does not come up if primary (Ethernet) not connected

$
0
0
Hi Jeremy, I just wanted to send the latest status. I updated to the latest Redpine pack into SSP 1.5.0-rc.1. I still have the same issue with the DHCP server not providing a response through the RS9113. I added some code to dump all the interactions on the SPI bus starting after the Redpine comes up as an AP into a log file and captured the corresponding tcpdump output into a second file. I have attached the log files in case you want to see them. I marked the critical sections with ">>>>>>>>>". I see the response to the DHCP DISCOVER sent to the RS9113 and it responds with a success code (0x0 0x58) for the frame. Since the framework is configure to use the NetX IP stack, my understanding is this should be a complete, valid IP frame. I want to spent a little time decoding it, but a quick look seems to indicate that it is a proper DHCP response. I plan to open a support case with Redpine later this afternoon after examining the attached files in more detail. I also did a little more experimentation with why the DHCP response was originally sent to the primary network interface. I originally though it was due to adding the DHCP server through the configurator. That was incorrect. It turns out that when that was occurring, I had both the primary and secondary network interfaces configured to be on the same sub-net. When I configure them for different sub-nets, the DHCP response was sent to the secondary network interface. thanks, pete (Please visit the site to view this file)(Please visit the site to view this file)

Forum Post: RE: Secondary network interface does not come up if primary (Ethernet) not connected

$
0
0
Here's the other file:(Please visit the site to view this file)

Forum Post: RE: Error - The Load Image Header was not found for this application.

$
0
0
Hello Mike, I think linker may be optimizing the image header out. Please insert BSP_DONT_REMOVE before "image_file_header" symbol. This will map to __root when using IAR and should provide the desired effect: www.iar.com/.../. Regards

Forum Post: RE: when malloc fails allocation, it doesn't return NULL.

$
0
0
using the default newlib malloc in a multi threaded environment is not safe. Please see :- sourceware.org/.../libc.html and sourceware.org/.../libc.html however it looks like newlib nano (the default for a Synergy project) doesn't actually make calls to __malloc_lock or __malloc_unlock.

Forum Post: RE: Problem with g_timer0.p_api->periodSet(g_timer0.p_ctrl, 3500, TIMER_UNIT_PERIOD_USEC)

$
0
0
Hello Richard, FrankL and Eric Thank you for your answers, i just understand what is the problem. I use AGT timer (16 bit) and with the clock PCLOCKB (7500000 Hz) so when i call g_timer0.p_api->periodSet(g_timer0.p_ctrl, 10000, TIMER_UNIT_PERIOD_USEC) it return SSP_ERR_INVALID_ARGUMENT So to get bigger time i only have to change the PCLOCKB to LOCO (32768 Hz) My error was that i believe that the clock change automatically to make the good delay. Thank you for your help

Forum Post: ESP-32 WIFI PMOD App Note Demo Issues

$
0
0
Hello, I have purchased a PMOD ESP32 for evaluation with Renesas Synergy. I have installed the required resources from the renesas synergy pmod esp32 application note . I also have the sample project up and running on the target demo board (PK-S5D9). I am communicating with the module through Tera Term and USB CDC. I am able to communicate with the module, and the module responds to the "get_mac" command: The issue I am having is that the command line options for "scan" and "connect" do not work. The module seems to be hang, and nothing is displayed in Tera Term after about 10 minutes of issuing the "scan" or "connect" commands. For the "scan" command, I get an "OK" response, but no APs are displayed in Tera Term. send command to module module response The Tera Term output remains as the image below for more than 10 minutes, with no APs listed. For the "connect" command, I am able to set the provisioning (removed the SSID and passphrase from screenshots): Send the "connect" command: Logic analyzer capture: After more than 10 minutes, there is no "OK" response, and the Tera Term displays the same info: While there is no logic analyzer activity. What could cause this type of behavior? Did I miss something in the project configuration? Is anyone else experiencing this issue? I am using e2studio 5.4.0.023, SSP 1.3.3. The ESP32 module has been updated to version 1.1.1, using the flash download tools v3.6.4.

Forum Post: RE: when malloc fails allocation, it doesn't return NULL.

$
0
0
thanks FrankL I can hardly believe that malloc returns an invalid address too. In the map file, heap area is correct.(0x20005a90 ~ 0x2007385f)

Forum Post: RE: when malloc fails allocation, it doesn't return NULL.

$
0
0
thanks Jeremy You mean that in synergy project, when I want to use malloc function I need to lock malloc space? I think it is a Linux multi-threaded version library, but is synergy same on RTOS?

Forum Post: RE: Error - The Load Image Header was not found for this application.

$
0
0
The produced a keyword not allowed error, but it did work if I broke it out like this. typedef struct file_header { uint8_t valid_mask; uint8_t version_number; uint16_t image_identifier; uint32_t unused[12]; } file_header; __root const file_header image_file_header @ 0x100800 = { (uint8_t) 0xAF, 1, 1, {0} }; So that's working with the example code, now when I try and move this to my application (which I'm trying to get running without having the downloader portion of the Flashloader included in, I get the following error from the S-REC to BCH conversion tool ('Indexing Error, Slot:', 1073872976). I'm guessing this is related to information about memory location and size for the bootloader to use not being included in the image?
Viewing all 23645 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>