Hello I am using HEW IDE with Renesas c/c++ compiler Problem statement = When I call a function and pass float value as argument in it, then inside body of that called function, that float arguments value changes, it is not the same value which passed during function call e.g. int Fun_ABC(float a); void main() { int d; d = Fun_ABC(55.5); } int Fun_ABC(float a) { .... } when I enter into Fun_ABC and then I check value of "a" using "Add watch" option -> then it shows different value of "a" like 3.144 etc. Please tell me the corresponding solution
↧
Forum Post: problem in passing float value as argument
↧
Forum Post: RE: nx_icmp_ping only work in step by step
Hi Thib, interesting. Did you observe what is happening on the ETH with a tool like wireshark? I realized the undocumented behaviour that only 0.0.0.0 also in the IP address is working as expected. When you use DHCP exactly the same happens. The DHCP client service of NetX does exactly teh same, it starts with 0.0.0.0 in IP and NW-Mask and then sets the values offered by the DHCP server. So I think you should not get trouble in your company network, when you initialize your system with IP 0.0.0.0 and send out the ARP with source IP 0.0.0.0 but requesting your company IP. On teh network you should see (with a tool of course) something like ARP from 0.0.0.0 to broadcast with message "who is 10.258.14.X" I assume you will then need less ARP cache space as well. regards Remo
↧
↧
Forum Post: RE: CS+ linker error (E) E7001 VF78K0R error E7001: The link error was found.
(Please visit the site to view this file) I'm sorry, the project gives me the creeps. It uses source files generated by external Applilet but ignores the built-in CodeGenerator. It has the option bytes defined in an assembler file instead of the linker options. In a CG project the linker options can reflect the setings in the CodeGenerator options, the assembler file cannot do this. You said earlier the project is for RL78F13 with 128K flash, the selected device is RL78/F14 with 256K flash.
↧
Forum Post: RE: warning of unrecognized pragma
Hello FrankL, I think i got the solution , I have read the user's manual. They have mentioned points below, 2.1.3 Improvement to the method of authenticating licenses The way licenses are authenticated was improved to reduce build times. With this improvement, when a license for the professional edition has not been registered and the code includes #pragma extended language directives for the professional edition, the compiler operates as follows. - Versions earlier than V1.05.00 The compiler outputs a warning and ignores the option. - V1.05.00 and later versions When the syntax of the #pragma extended language directive is correct, the compiler outputs a warning but still ignores the option. When the syntax of the #pragma extended language directive is not correct, the compiler outputs an error message.
↧
Forum Post: RE: computer vision support for RZ/G1H MPU platforms
Thanks Georgi ! Yes, I would appreciate the procedure for the "on-board" build of Tensorflow if an AI-ready BSP for the iwave is not available. Rai
↧
↧
Forum Post: RE: warning of unrecognized pragma
Now do you have any idea regarding my question on link given below, renesasrulz.com/.../multiple-iodefine-h-problem-while-declaring-pin-in-define
↧
Forum Post: RE: Why J-Link Lite can not use?
Hi Chris, Could you bulid the sample project like "StreamIt2_Tutorial" in e2 studion v6.1 or more higher version? It is no problem in e2 studion v5.4. But the .bin or .hex file is empty in e2 studion v6.1 after building. In e2 studion v6.1, 1 warning message display. The follow is the capture picture. Could you help me? Thanks.
↧
Forum Post: RE: CS+ linker error (E) E7001 VF78K0R error E7001: The link error was found.
Hello Frank, The code generated is for CA78K0R compiler. I guess you have compiled the project with CC-RL compiler, which is giving you the creeps. We are contacting Renesas fro support to resolve the issue from the CA78K0R compiler itself. Thank you, Regards, Ghani
↧
Forum Post: RE: computer vision support for RZ/G1H MPU platforms
Hi JB, Do you have the experience on Stream it + e2 studio v6.1 or higher? I can not build the sample project in e2 studio v6.1. Could you help me? I posted my question in RZ-Forum. Thank you very much.
↧
↧
Forum Post: RE: RH850 GNU support
Hi Davhak, We do not currently support the RH850 GCC as there has been no strong business case for GCC in this mainly automotive domain. However if you would like to message me details on what you are doing and which company you represent we may be able to help you further. I appreciate you might not want this as open information. So feel free to email me. My email is visible on my profile. Best Regards, Mark.
↧
Forum Post: RE: 1 of 107 Rl78/G13 IIC Problem
can u share iica code for rl78/g12 witch c file ,compiler support cs+ for cc.
↧
Forum Post: RE: 1 of 107 Rl78/G13 IIC Problem
I believe you can use the sample code of RL78/G13. www.renesas.com/.../D3017075.html
↧
Forum Post: RE: I2C SSP_ERR_IN_USE when I set optimization level to 02. Why?
Hi Mike, Transfer drivers are enabled by default, but may be disabled by simply removing them, as they're optional. I've been trying to reproduce the issue you see in Standard mode, using callback completion. My setup uses PK-S5D9 board, the app has stacks for I2C master and I2C slave. These are connected together using external wires. For a completion notification, the application uses semaphore that is put in a callback. The app is working fine as expected. Could you tell me how you are synchronizing reads nad writes with a callback? Regards, adboc
↧
↧
Forum Post: RE: problem in passing float value as argument
I think the problem statement that you have mentioned is not correct. You change the question to how to monitor float value... Possible Answer: When you are trying to pass a float value to a function it will receive the data in a local variable which maps to a register in an assembly language. Hence when you are trying to monitor variable a it shows garbage value. Try to monitor assembly language registers you will be able to decode original float value. Since you have doubt that function is not accepting float as an argument try to return the same value at the end and assign it to another global float variable you will be able to monitor the returned value in watch window. I hope this clarify your doubt... :-)
↧
Forum Post: RE: I2C communication with SK-S7G2 (master) and a temperature sensor (slave), function read
Hi Stefan, MCU is notified of NAK by interrupt and thus when write is called, it doesn't know about NAKs yet when HAL driver is used. You may try using a framework, which should return after transmission is completed or aborted. Regards, adboc
↧
Forum Post: RE: Why J-Link Lite can not use?
There is a known issue that if a e2Studio project was created in e2Stuido v5, it cannot be built in e2Studio v6. I think the projects in the Stream it kit were created with V5. That is probably the issue. In order to use V6, you need to create a 'new' project in V6, then copy in the source code. I will ask the Renesas SW department if they have a plan to convert all the projects to V6 and then re-post to our website.
↧
Forum Post: NOR flash mount with XIP kernel build
Hi, I am writing an application which requires storing some dynamic data which needs to used on next reboot as well When I am building an application with XIP kernel, I can't see NOR flash in /dev section. How can I mount NOR/NAND flash(write & read) with XIP kernel? Following is the result of "cat /proc/mtd" command dev: size erasesize name mtd0: 03800000 04000000 "qspi_rootfs"
↧
↧
Forum Post: Problem when a applied the python script to create the .bch file from .srec file
Hello, everybody. I have a problem when a applied the python script to create the .bch file from .srec file. Exception: Expected Value = 0xaf Actual Value = 0xfb on top of that, the .bch file generated, included only 0xFF patern in header file. Is this problem known?
↧
Forum Post: RE: NOR flash mount with XIP kernel build
What do you mean "NOR" flash? Parallel NOR or SPI NOR? If you are using the SPI flash for XIP, the file system has to be read only (because the RZ/A1 QSPI controller is in a XIP read-only mode). However, if you just need to store some data in QSPI while running XIP, there is a driver that you can use. See this app note: renesasrulz.com/.../3201 Or, you can put down a separate SPI flash on a different SPI channel and map that as R/W. Or, you can put down a parallel NOR flash as well (but that will cost you more money than just adding a simple SPI flash).
↧
Forum Post: RE: Possible to configure fCLK to a baudrate frequency using internal clock gen?
Hi Matt RL78 have Trim registor for HOCO. But, it is only for fine tuning. It can not change so much. If you want to generate 18.432MHz, you should add the xtal to your micro. Why do you want to need 18.432MHz? RL78's UART function that called SAU has baud rate generator. It can adjust the baud rate that you want. Of course, in a case, it may include error. But, I believe UART can accept TOTAL under 5% error. "TOTAL" means transmitter side error + receiver side error. How about your limitation? D70116C
↧