Hi Karol, I'm try to download J-Flash Lite follow your link but have not found it. The j-flash require license. Do I need to buy a license for J-flash or it come as part of the SK-S7G2? Thanks.
↧
Forum Post: RE: How to load flash via J-Link on the SK-S7G2
↧
Forum Post: Register defaults
Greetings, It seems in all the Renesas provided sample code they depend upon register default values. On several projects I have worked on this is not allowed, especially where it was mission critical code. I was wondering what developers on this forum do. But since the device I am using has some register protection it would seem logical to take advantage of defaults for registers than can be protected but maybe not others as it would save some code space. I would appreciate your thoughts. J
↧
↧
Forum Post: RE: How to load flash via J-Link on the SK-S7G2
The JLink-OB on the S7-SK board cannot be used with JFlash without a license. However JLflashLite (included in the "J-Link Software and Documentation pack for Windows" from www.segger.com/.../JLink_Windows.exe) can be used with JLink-OB without an additional license.
↧
Forum Post: RE: nx_ip_interface_info_get + MAC Address
Hi Remo, Thanks for your comment. I already test with \0 adding 2 char in my array and it doesn't work! Mickael
↧
Forum Post: RE: I2C SSP_ERR_IN_USE when I set optimization level to 02. Why?
Thank you so much for your help. This is what my code looks like with callback. I checked that the event is always I2C_EVENT_TX_COMPLETE. That part seemed to be ok. The next api->read fails to start. That is the symptom. Best, Michael void hal_entry(void) { // read configuration register from ADS1015 // Write buf[0] = ADS1015_CONFIGREG_ADDR; g_i2c_done = false; err = g_ads1015.p_api->write(g_ads1015.p_ctrl, buf, 1, false); if (SSP_SUCCESS != err) { g_ioport.p_api->pinWrite(RED_LED_PIN, LED_ON); // turn on red led for error while (1); } while (!g_i2c_done){ } // Read g_i2c_done = false; err = g_ads1015.p_api->read(g_ads1015.p_ctrl, buf, 2, false); if (SSP_SUCCESS != err) { g_ioport.p_api->pinWrite(RED_LED_PIN, LED_ON); // turn on red led for error while (1); } while (!g_i2c_done){ } } void g_ads1015_callback(i2c_callback_args_t * p_args) { if (p_args->event) { /* I2C_EVENT_ABORTED = 1, A transfer was aborted I2C_EVENT_RX_COMPLETE = 2, A receive operation was completed successfully I2C_EVENT_TX_COMPLETE = 3 A transmit operation was completed successfully */ g_i2c_done = true; } }
↧
↧
Forum Post: RE: Html webserver + iOS capabilities
Thanks abdoc! In fact, it was a problem with the HTTP server itself. To work fine with iOS, the http server must respond with a status OK (200). For android, no matter! Thanks again for your time and for all contributors! Regards ! Mickael
↧
Forum Post: RE: I2C SSP_ERR_IN_USE when I set optimization level to 02. Why?
Thank you. I found the file. I will add it and modify the file as read-only. I will let you know how it goes. I hope it will work. Michael
↧
Forum Post: RE: StreamIt2_Tutorial.bin is 0kB , StreamIt2_Tutorial.hex has one line only(1kB)
This is a known issue that some of the RZA1 Appnotes do not compile on e2studio v6.1 and v6.2. This will be fixed on next version of e2stdudio. FYI appnote R01AN3638EJ200 includes all RZ drivers, RZA1H/M (RSK) and RZA1L/LU/LC(Streamit kit).
↧
Forum Post: RE: S7G2 Uart Baudrate Change at Runtime
Hello Heinz, I noticed that the "SSP 1.3.0 User's Manual > Module Overviews > HAL Layer > UART Driver" chapter is missing. Please refer to the SSP 1.3.3 documentation instead, to find details how to use the .baudSet() function. SSP 1.3.3 User's Manual > Module Overviews > HAL Layer > UART Driver > UART HAL Module APIs Overview According to the example of the function call, could you try the following: g_uart_usb_rs232_chip.p_api->baudSet(g_uart_usb_rs232_chip.p_ctrl, (uint32_t)9600); Best regards, anper
↧
↧
Forum Post: RE: Possible to configure fCLK to a baudrate frequency using internal clock gen?
Hi D70116C, Yeah I was afraid that would be the case needing to use an external xtal. Im investigating a comms error issue. Im seeing around 0.12% communications errors at 9600 board. Basically the RL78 is loosing the first char is a packet. Either reading it as a 0x00 or misses it all together. With a 24mhz clock the applilet3 tool is saying there is a 0.16% error at 9600baud which is pretty close to what Im actually seeing. So I wanted to experiment with getting a perfect clock frequency for baud rate generation and see if that fixed my missing first byte problem. I have some semi critical comms that needs to happen, but dont have the extra connection to add a clock and make it a synchronous transfer. Thanks for the help D70116C! Matt
↧
Forum Post: RE: computer vision support for RZ/G1H MPU platforms
Hi Rai, It turns out we don't have an AI-ready BSP yet. We are looking into it but in the mean time I will send you the instructions we have for adding Tensorflow to the BSP. I cannot figure out how to attach files here, would you please let me know your email address so that I can email the instructions to you? If you don't want to put your email here, then you can email me at georgi.stoykov@renesas.com and I will send you the file. Regards, Georgi
↧
Forum Post: RE: I2C SSP_ERR_IN_USE when I set optimization level to 02. Why?
Hi Adboc, Both ways work great. I don't get into the problem now. First way: Modify hal_entry.c #include "hal_data.h" #include "../synergy/ssp/src/driver/r_riic/hw/common/hw_riic_common.h" // add this include line (new) void g_ads1015_callback(i2c_callback_args_t * p_args) { riic_instance_ctrl_t * p_ctrl = (riic_instance_ctrl_t *) g_ads1015.p_ctrl; // add this line (new) if (p_args->event) { /* I2C_EVENT_ABORTED = 1, A transfer was aborted I2C_EVENT_RX_COMPLETE = 2, A receive operation was completed successfully I2C_EVENT_TX_COMPLETE = 3 A transmit operation was completed successfully */ /*tx_semaphore_ceiling_put(&g_sensor_bus_done,1); */ switch (p_args->event) { case (I2C_EVENT_RX_COMPLETE): case (I2C_EVENT_TX_COMPLETE): g_i2c_done = true; break; case (I2C_EVENT_ABORTED): g_i2c_error = true; break; default : g_i2c_error = true; break; } } // added by Michael to deal with SSP error. (new) while (1 == HW_RIIC_BusBusy(p_ctrl->p_reg)) { } } Second way: Modify r_iic.c (located at ../synergy/ssp/src/driver/r_riic directory) /* Wait for a bus. added by Michael */ if ((errs_events & (uint8_t) RIIC_ERR_EVENT_STOP)) { while (1 == HW_RIIC_BusBusy(p_ctrl->p_reg)) { } } The result is same for both ways. I look further. It appears that the function is checking if BBSY bit in riic register is still asserted. // in hw_riic_common.h file __STATIC_INLINE bool HW_RIIC_BusBusy(R_IIC0_Type * p_riic_reg) { return (1U == p_riic_reg->ICCR2_b.BBSY); } Can you explain how you found this solution? I'd like to learn. Thank you for sharing your solutions. Michael
↧
Forum Post: RE: StreamIt2_Tutorial.bin is 0kB , StreamIt2_Tutorial.hex has one line only(1kB)
Hi Michael, Thank you. It seems R01AN3639EJ0103 and R01AN4137EJ0100 are not available now. I can not find it in web.
↧
↧
Forum Post: RE: Why J-Link Lite can not use?
Hi Chris, Thank you. I will try to creat a new project. But I worry about the bulid setting has some know how.
↧
Forum Post: RE: Controlling DB42S03 with RX23T using e2 studio sample code
Hi Robbin, Have you downloaded the YROTATE-IT-RX23T project file for e2studio? From the main.c file, you can study the functions being used in the project. There's a comment in every line. You can try to open other files like motorcontrol.c to see how the PWM peripheral was configured. You can also use the GUI to set the rpm. I'm not sure if there's really a detailed guide of the program, so I guess you need to learn it in the hard way to understand the functions. Read RX23T datasheet and look for the timer registers for PWM to know how to configure them. JB RenesasRulz Forum Moderator https://renesasrulz.com/ https://academy.renesas.com/ https://en-us.knowledgebase.renesas.com/
↧
Forum Post: RE: Pin declaration problem in e2Studio RL78G13(multiple iodefine.h)
Hi nnp, How's the issue? Were you able to solve this? What do you mean by "when I click on .no2"? JB RenesasRulz Forum Moderator https://renesasrulz.com/ https://academy.renesas.com/ https://en-us.knowledgebase.renesas.com/
↧
Forum Post: RE: Pin declaration problem in e2Studio RL78G13(multiple iodefine.h)
Hello JB, I am not able to solve this issue. "Click on .no2 " means when i click (CTRL+P6_bit.no2) then it will show the pop up which is displayed in above image. Now I hope you can understand the issue. Kindly see the image
↧
↧
Forum Post: RE: Pin declaration problem in e2Studio RL78G13(multiple iodefine.h)
Hi nnp, Can you share the project file here? So that we could test it. Also, can you tell us your IDE version and compiler? JB RenesasRulz Forum Moderator https://renesasrulz.com/ https://academy.renesas.com/ https://en-us.knowledgebase.renesas.com/
↧
Forum Post: RE: Pin declaration problem in e2Studio RL78G13(multiple iodefine.h)
I am using e2Studio Version 6.2.0 with CCRL Compiler Version 1.05.0
↧
Forum Post: HART on SSP (threadX)
Hi.. I wanted to use HART 7 on Renasas synergy on SSP (ThreadX).. whether HART stack/driver is supported/available on threadx? Thanks
↧