Hi punit, Port 6 is an I/O port with an output latch. Port 6 can be set to the input mode or output mode in 1-bit units by using port mode register 6 (PM6). Please refer to this book chapter 2 to learn how to set the GPIOs www.renesas.com/.../rl78g14-update.pdf Thank you. Herald RenesasRulz Forum Moderator https://renesasrulz.com/ https://academy.renesas.com/ en-us.knowledgebase.renesas.com/
↧
Forum Post: RE: Not able glow LEDs connected to Port6 ( pin 0 and 1)
↧
Forum Post: RE: Linticator Plugin for e2studio
Thanks for your response and the info. I have searched the forums as well and saw the thread you found. I also was not able to find anything that explicitly stated the Linticator was/was not supported by e2studio, which is why I posted on this forum.
↧
↧
Forum Post: CSI transmitting 7F ,80 in run-time, but while in Dee-bug Mode , csi transmitting correct data, R78/F13.
CSI transmitting 7F ,80 in run-time, but while in Dee-bug Mode , csi transmitting correct data, R78/F13. How to dee-bug this type of errors., Please help me on this issue.
↧
Forum Post: RL78/G13 Where can I find the main function ?
Hello everyone, I just started to work on the RL78/G13 micro. For the moment, i'm reading the user guides, and all the documentations I can find about it. In the same time, I installed IAR and applilet, then generated some firsts files (.c and .h) and started to test the first code execution. I have a question regarding the documents. In fact, I saw in the following document https://www.renesas.com/kr/en/doc/products/tool/doc/015/r01us0050ej0105_rl78.pdf a list of the flash functions. But even after looking after them everywhere, I couldn't find them (I mean, I have their prototype, but not their code description). And so, my problem is that i can't for example run the fsl_init function. Can someone help me to find them, and so to can use them ? Thank you all in advance for your help, Antoine
↧
Forum Post: stdlib.h' file not found
Hi, I created a Synergy C++ project (couple threads with no code yet) and just try to build to see if C++ can be implemented in E2 Studio. I have the latest E2 studio and SSP with GNU version 7.2 This is the error I got. This could be the setting. Please share if you have any advise. C:\gnu_tools_arm_embedded\7_2017_q4_major\bin\../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/include/c++/7.2.1\cstdlib:75:15: fatal error: 'stdlib.h' file not found Thanks.
↧
↧
Forum Post: Input Pulse Interval Measurement in RX24U
I want measure the Input Pulse Interval Measurement as like in RL78 Series. How to measure the interval of the pulse in RX24U - R5F24UEAADFB MCU. There are many timers but, i don't know how to use the timers to measure the pulse. The Code Generator confuses me.......Please help me out of this problem as soon as possible.
↧
Forum Post: RE: stdlib.h' file not found
Try adding "${TCINSTALL}\arm-none-eabi\include\c++\7.2.1" to the C++ compiler include paths:-
↧
Forum Post: RE: RX62N write data in internal memory instead of eeprom
now im ABLE TO READ AND WRITE ON DATA FLASH FOR EXAMPLE on ADDRESS 0X00100000 ( BLOCKDB0) but after a restart of micro some byte on data flash are overwritten its possible to reserve a part of flash and change it just with command R_FlashWrite ???'??
↧
Forum Post: S7G2 - Using block media on QSPI flash to store large data sequentially
In our custom board, we have 128 Mbytes of QSPI flash to be used to sequentially store blocks of data. The blocks are of 3 possible sizes as they are received from 3 possible types of devices in network that our board is monitoring. The data for each device is a structure with some meta-data to state the type of device, an index or offset and a date timestamp. We therefore need to keep track of which block of data is for which type of device as well as the index, so we can count the number for each device and also retrieve a particular block or range of blocks (the index will be used for retrieval). We had some existing implementation of the above for a much smaller EEPROM device. But with a large device, scanning through the flash to find and index takes too long. I feel therefore that using a file system on top of the QSPI flash would be a better option and each block just stored as a flat file. My questions: 1. Will block block media on QSPI work for this? Is it safe from corruption etc? 2. Any example of using block media over QSPI?
↧
↧
Forum Post: RE: RTC date reporting incorrect
Thanks. I thought it was using the actual month, but when I looked into the calendar get function it was subtracting 1 to make it fit the tm struct standard. Regarding the second suggestion, we do not have any external interfaces in which we can obtain the date / time, so have to rely on setting it manually.
↧
Forum Post: C++
Hi, The thread header file has the extern "C" if using C++ (code snippet at the end) However, I'm still having problem building the project involving Threadx functions with this error ../src/main_thread_entry.cpp:43:33: error: 'sensor_thread' was not declared in this scope status = tx_thread_resume (&sensor_thread); I'm using e2 Studio 7.51 and SSP 1.7, toolchain version 7.2.1. I have read other question regarding to develop Synergy project using C++ and I believe C++ is supported with this version of SSP. Please let me know if any information that I am missing. Thanks. /* generated thread header file - do not edit */ #ifndef SENSOR_THREAD_H_ #define SENSOR_THREAD_H_ #include "bsp_api.h" #include "tx_api.h" #include "hal_data.h" #ifdef __cplusplus extern "C" void sensor_thread_entry(void); #else extern void sensor_thread_entry(void); #endif #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } /* extern "C" */ #endif #endif /* SENSOR_THREAD_H_ */
↧
Forum Post: RE: C++
That doesn't sound like a C++ error. If sensor_thread is a thread instance created by the Synergy generated code, it is not visible directly to the application thread entry function. If that is the case, try this code: #include "new_thread0.h" TX_THREAD *my_thread_ptr; /* New Thread entry function */ void new_thread0_entry(void) { my_thread_ptr = tx_thread_identify(); tx_thread_resume(my_thread_ptr); /* TODO: add your own code here */ while (1) { tx_thread_sleep (1); } } Janet
↧
Forum Post: RE: stdlib.h' file not found
Hello, Copper. As the following FAQ tells, please check if you have enabled -nostdinc option. FAQ : Standard Library Header Not Found Error During Build of GCC Arm Project https://en-support.renesas.com/knowledgeBase/18503662
↧
↧
Forum Post: V3MSK - Run X window system and desktop environment
Hi I build the BSP for v3msk following the link: https://elinux.org/R-Car/Boards/Yocto-Gen3-ADAS#Building_the_BSP_for_Renesas_ADAS_boards I used Yocto v3.21.0 I used the local.conf available at meta-rcar/meta-rcar-gen3-adas/docs/sample/conf/v3msk/poky-gcc/bsp/ I am building minimal image with command bitbake core-image-minimal The boot was successful, however I don't see the X window system start. (ps doesn't show Xorg / X11). I would like to run X window system and run some desktop environment like matchbox. Is it possible to run X window system in v3msk? and what packages are required in local.conf to achieve this. Thanks and Best Regards Sami
↧
Forum Post: RSA bugs
We're using S5D5/D9 devices with SSP 1.60 and e2studio 7.3.0. For RSA we're using sf_crypto frameworks. Bug 1: when verifyFinal() operation fails, subsequent contextInit() call fails with error SSP_ERR_INVALID_CALL. It is because of the bug in the SF_CRYPTO_SIGNATURE_VerifyFinal() function (file sf_crypto_signature.c): When HAL verify returns error SSP_ERR_CRYPTO_SCE_VERIFY_FAIL which is correct and expected, the internal state isn't updated and then state check fails on the next contextInit() call(s). The SSP_ERR_CRYPTO_SCE_VERIFY_FAIL is the correct result when signature check fails which is one of two expected outputs. IMO above check is incorrect on any error and the state should be updated unconditionally. Also, the contextInit() logic is dubious. Why it checks the current state? It should always reset the operation and start from the beginning. Now how to fix it? The fix is easy but the sf_crypto_signature.c file is encrypted. What is the expected way to fix such problems? Bug 2: RSA keyGenerate() functions returns SSP_ERR_CRYPTO_SCE_FAIL occasionally. It is rare but I've already seen it few times when tested bug 1. Called the same way from the same code and normally it works as expected. This part of code isn't even available as encrypted sources, only as libraries. Which is really bad idea because such bugs can't be debugged and fixed.
↧
Forum Post: RE: S7G2 - Using block media on QSPI flash to store large data sequentially
Good day, Sudesh! How are things going so far? Your idea looks promising. I hope this attached document will help you on QSPI peripheral. www.renesas.com/.../r11an0114eu0101-synergy-qspi-hal-mod-guide.pdf Best Regards, Sai RenesasRulz Forum Moderator https://renesasrulz.com/ https://academy.renesas.com/ en-us.knowledgebase.renesas.com/
↧
Forum Post: RE: RL78/G13 Where can I find the main function ?
Hi Antoine, For the flash self programming library, you still need to download it. Please check it here: https://www.renesas.com/sg/en/products/software-tools/tools/self-programming-library/code-flash-libraries.html#productInfo JB RenesasRulz Forum Moderator https://renesasrulz.com/ https://academy.renesas.com/ https://en-us.knowledgebase.renesas.com/
↧
↧
Forum Post: RE: Interconnecting SK-S7G2 over ethernet
Hi JB, this is not an issue, but a question. I want to know whats advisable. I am not aware of the fact if a post in such a context is not allowed here (on this forum).
↧
Forum Post: RE: Problem in setting a long string text on multi line text
Can anyone please help me??
↧
Forum Post: RE: RL78/G13 Where can I find the main function ?
Hello JB, Thank you for your help. I'll can start working now :) Next step, bootloader :D I'll probably be back soon for other questions... Thank you again, Antoine
↧