Hi all, I'm intended to use RX23W MCU to use bluetooth connection, and USB interface, and captouch for full version of Smartlock. I found that Renesas also have RL78/G1D bluetooth MCU. I wonder in case I'm don't want to use Captouch and only use Bluetooth and USB peripheral. Can I re-use the source code program from previous RX23W bluetooth code to program on RL78/G1D? Do I need re-code on new RL78/G1D MCU? Thank for reading. David in Bluetooth
↧
Hi all, I'm intended to use RX23W MCU to use bluetooth connection, and USB interface, and captouch for full version of Smartlock. I found that Renesas also have RL78/G1D bluetooth MCU. I wonder in case I'm don't want to use Captouch and only use Bluetooth and USB peripheral. Can I re-use the source code program from previous RX23W bluetooth code to program on RL78/G1D? Do I need re-code on new RL78/G1D MCU? Thank for reading. David in Bluetooth
↧
Forum Post: RZ/N1: can we connect both GMAC to the switch
Hi there, My goal is to have a single Ethernet port that is connected to both GMAC of RZ/N1D: GMAC1 being run by Linux on dual A7 and HW-RTOS GMAC managed by M3. Alternatively, we may also want to dedicate GMAC1 to one A7 core and GMAC2 to the second A7 core. To achieve that, I would like to connect GMAC1/GMII1 directly to GMII2, assuming that GMII protocol is symmetrical. That way I can use another port (eg. GMII5), let the switch forward packet either to upstream port (HW-RTOS) or to GMII2 (and hence toward GMAC1). My question is about the assumption that two GMII port can be connected together face to face (only shorting external pins appropriately), crossing TX and RX. Is this likely to work ? Thanks.
↧
↧
Forum Post: RE: ITM Trace on S1JA
Jeremy, Thank you very much. Everythings is clear and works as you described. Best regards Robert
↧
Forum Post: RE: Unable to connect RH850 target using GHS Multi via E1 debugger
Hello Amine, Thanks for your support! 1. RH850 controller number is R7F701205 and I am using GHS 2013.5.5 version. Could you please confirm the compatibility of GHS2013.5.5 version of compiler with RH850-E1 Target (R7F701205)? 2. Renesas E1 emulator is connected to LPD pins of the target via JTAG connector, and which is connected to HOST PC via USB cable. Could you please confirm which Debugger type to select in MULTI either as E1 Emulator LPD or E1 Emulator JTAG? As of now, we are selecting Debugger type as E1 Emulator LPD , core as RH850, lpd4 setting as 5500HZ. 3. How do I set the clock of LPD and main. Is there any specific range to select both the clocks to match hardware? 4. From which folder I should select 850eserve.mbs file. I have doubt on my GHS installation since required device file is not available in the installation, rh850e1l folder is not available to select 850eserve.mbs file, ex850g3.dll. Copied 850eserve.mbs file from some other version of GHS multi installation. Is it okay to copy? 5. My current settings are below log=C:\Users\ams_user\Desktop\multicon.txt 850eserv2 -df="C:\GHS\V800.V2013.5.5\comp_201355\rh850\dr7f701205.dvf" -rh850 -e1lpd4=11000KHz -dclock=16000,,swoff -fastflashload -id ffffffffffffffffffffffffffffffff -useswbp Facing an error number 0xccb RSU info write error 0xccb: unknown error. setup=C:\GHS\V800.V2013.5.5\comp_201355\target\v800\rh850_e1x_fcc1\850eserv.mbs 850eserv2 -df="C:\GHS\V800.V2013.5.5\comp_201355\rh850\dr7f701205.dvf" -rh850 -e1lpd4=11000KHz -dclock=16000,,swoff -fastflashload -id ffffffffffffffffffffffffffffffff -useswbp -opbyte_disable Facing an error number 0xca8 RSU info write error 0xca8: Fatal error. Best Regards, Uma
↧
Forum Post: RE: Unable to connect RH850 target using GHS Multi via E1 debugger
We are enabling the option of Disable OPTION BYTE SETTINGS in GHS Multi, while trying to connect with Target. we didn`t find any settings to set the option byte settings using GHS multi, Hence we are doing the option byte settings using Renesas flash programmer while flashing. OPBT0: 7FFFFFFD OPBT1: FFFFFFFF OPBT2: BFFFFFFF OPBT3 to OPBT7: FFFFFFFF Regards, Uma
↧
↧
Forum Post: RE: Unable to connect RH850 target using GHS Multi via E1 debugger
Hello Uma, You should set first the option byte with Renesas flash programmer tool before using multi, because the LPD connection parameters is part of the option byte. This is why you got the error 0xca8 in multi (Failed to LPD connection to target) when you disable the option byte using -opbyte_disable check the dr7f701205 manual to find the right value for the option byte, program it with Renesas flash programmer tool and then remove the "-opbyte_disable" and try agin to connect. Best regards, Amine
↧
Forum Post: USB device class -CDC_ACM
Hi I am implementing a simple USB Device CDC-ACM application on USB FS reference from the example program attached. the module works if the usb is connected with the computer in about 10 seconds otherwise it returns an unrecoverable error the screen shot is attached Is there a way to check event plugin notifications for device class so that the thread resumes only after the device is connected to the PC to avoid any unrecoverable errors in run time? using board DK-S7G2 SSP 1.6.0 Regards Pranav (Please visit the site to view this file)
↧
Forum Post: RE: USB device class -CDC_ACM
Hi Pranav, You can change the Timeout in ticks property in the Communications Framework on sf_el_ul_comms to 0xffffffff which will wait forever until the USB is connected to the host. The thread will block until the device is enumerated. The default timeout is 1000 which is 10 sec. -Gary
↧
Forum Post: How to use RX23W MCU to use bluetooth connection, and USB interface, and captouch
Hi all, I'm intended to use RX23W MCU to use bluetooth connection, and USB interface, and captouch for full version of Smartlock. I found that Renesas also have RL78/G1D bluetooth MCU. I wonder in case I'm don't want to use Captouch and only use Bluetooth and USB peripheral. Can I re-use the source code program from previous RX23W bluetooth code to program on RL78/G1D? Do I need re-code on new RL78/G1D MCU? Thank for reading. David
↧
↧
Forum Post: RE: How to use RX23W MCU to use bluetooth connection, and USB interface, and captouch
Hi David, The RX23W and the RL78 are two completely separate family lines. Code made for the RX device is incompatible with the RL78. Note that if you abstract the source code well enough you can reuse your application layer, but the drivers will need to be completely rewritten.
↧
Forum Post: RE: USB device class -CDC_ACM
Hello Gary The above problem delayed the connection process now I am not getting any unrecoverable errors. But during communication process if the usb cable is removed and re inserted the PC recognizes the COM PORT no error in that, neither I get any unrecoverable errors on the MCU side but the transmission is stopped and sometimes it hangs the Hyperterminal I can no longer send and receive the data. What happens during removal and reinserting the USB cable? I just want the transmission to be as it is, if somehow the usb cable is removed and reinserted. Regards Pranav
↧
Forum Post: RE: How to use RX23W MCU to use bluetooth connection, and USB interface, and captouch
Hi Jesse, Thank for your promptly reply. I got understand clearly. Best wishes, David
↧
Forum Post: RE: Exclude window from resource generation in Guix
Hi stage, Have you figured this out already? JB RenesasRulz Forum Moderator https://renesasrulz.com/ https://academy.renesas.com/ https://en-us.knowledgebase.renesas.com/
↧
↧
Forum Post: Flash/RAM size calculation in RL78 using IAR
Hi there, I have written a code for the R5F10BGGKFB microcontroller (RL78/F13 series) using IAR IDE. After building the project, I have the following in the build window: 76393 bytes of readonly code memory 3804 bytes of readonly data memory (+16681 absolute) 9157 bytes of readwrite data memory (+211 absolute) Now, I wanna know the size of the flash and ram memory. Indeed, I know what is the meaning of "absolute" keyword in the aforementioned sentences. Thanks.
↧
Forum Post: Regarding cstdint and cstdarg library
Hi, I have created a C++ executable project in e2studio using CCRX. In that I'm getting two errors while building 1. E0520005:Could not open source file "cstdarg" 2. E0520005:Could not open source file "cstdint" How can I resolve this issue? Please guide.
↧
Forum Post: RE: RZA1H extremly slow code execution
I asked my colleague for more details about the MMU configuration. He configured the SRAM as non-cacheable, because he encountered race-conditions with the DMA accesses running in parallel. I asked him to enable the caches again and using clean and flush with the DMA buffers instead. I am waiting the results.
↧
Forum Post: RE: USB device class -CDC_ACM
Pranav, This is a known issue with the CDC ACM class device and USBX. Please see the following thread for countermeasure for this issue: renesasrulz.com/.../usb-cdc-acm-deadlock -Gary
↧
↧
Forum Post: RE: MODBUS RTU implementation on PK S5D9
I have put together a quick demo for Mobbus RTU using freemodbus ( https://www.embedded-solutions.at/en/freemodbus/ ) on the S5D9-PK board, it doesn’t use RS-485 as I don’t actually have any RS-485 hardware and there is no RS-485 transceiver on the S5D9-PK board, so it just outputs to a USB to serial convertor at 3.3V from J10 on the S5D9-PK board :- J6 is set to 2-3, and JP3 is 3-5 on J9, and JP4 is 4-6 on J9. The USB to serial convertor is connected to my PC, then use modpoll.exe from here :- https://www.modbusdriver.com/modpoll.html as the modbus master. The command line for modpoll I used :- modpoll.exe -m rtu -a 10 -r 1000 -c 4 -t 3 -b 38400 -d 8 -p even COM3 and the output from modpoll :- (Please visit the site to view this file)
↧
Forum Post: E2Studio and J-Link GDB Server remote debugging
Hi, Due to the Covid-19 situation, I'm working from home a lot. I'd like to keep my debug setup somewhere safe from my kids, so I thought it would be a good idea te leave an old laptop with my setup and use debugging over the network to access it. I was able to start the J-Link GDB Server and connect to my target (R7FS5D97E) using a J-link base. Then I modified the Debug configuration in E2Studio to connect to a remote GDB server with the appropriate IP and port numbers. When I launch the debugger, it connects to the remote server, but then reports an error: 898,937 &"target extended-remote 192.168.2.29:2331\n" 899,102 ~"Remote debugging using 192.168.2.29:2331\n" 899,118 &"Non-stop mode requested, but remote does not support non-stop\n" 899,118 23^error,msg="Non-stop mode requested, but remote does not support non-stop" Whatever I try, I cannot get it to try to connect without non-stop mode (which was already turned off in the settings). Has anybody managed to get a similar setup to work? Regards. Joost
↧
Forum Post: How to write code for RX65N in e2-studio
Hi I am new with e2studio and Rx controller. I am getting difficulty in writing a basic code in e2-studio. I don't want to import any example. I want to write my own code for Rx65N controller. Kindly please guide how to write code ir if you have any document with basic gpio code then please send. Regards Nakul
↧