Is there a UART library in C for the ADSP-BF537 or BF537 Ez Kit Lite? So far I have seen the uartlib.asm in the sample programs. Also in the EE-347, there is a provided UART library in C but for some reason I can't build the sample project it's in. I also tried using the said uart library with its dependencies in my project but it still doesn't work. Does anyone have another UART library in C which I may use? I'm using Visual DSP 5.0. Thank you!
Are you trying to build the project at "...\EE347v03\ADSP-BF537_FAMILY-UART\"? This looks to have an issue, as the "ADSP-BF537_FAMILY-UART_basiccrt.s" file is missing. This is an auto-generated file, which you can force the tools to regenerated by changing a project option.
Assuming that is the issue you are facing in building this project, please do the following:
Go to Project: Project Options: Startup Code Settings: Cache and Memory Protection
Change "Data Cache Memory" to a different option, then click "OK" to close the Project Options.
The ADSP-BF537_FAMILY-UART_basiccrt.s file will be regenerated at this point.
Go back into Project: Project Options: Startup Code Settings: Cache and Memory Protection
Change "Data Cache Memory" back to "Disable cache and disable memory protection", and click OK to close the Project Options.
You should now be able to rebuild the project.
There isn't a UART library - assuming you mean a basic API that provides high level access to the UART, except the one that is provided as part of the System Services and Device Drivers for Blackfin. For more information, see 'Help: Contents: Manuals: Software and Tool Manuals: Device Drivers and System Services Manual for Blackfin Processors', and the UART-specific Device Driver documentation at "...\Blackfin\docs\drivers\uart\".
Yes that was the reason why I couldn't build the project. The "ADSP-BF537_FAMILY-UART_basiccrt.s" was successfully generated, however, upon rebuilding the project, this error came out:
----------------Configuration: ADSP-BF537_FAMILY-UART - Debug----------------
".\..\Common Code\init_platform.h", line 90: cc0035: fatal error: #error
directive: target not supported
#error target not supported
I tried commenting out that portion, but then a new error says that it's missing the services_types.h library. I also tried making a new project with the same header files and source files as the ADSP-BF537_FAMILY-UART and upon build, this error occured:
----------------Configuration: UART_test - Debug----------------
cc1458: Fatal error: could not obtain license
1 catastrophic error detected in the compilation of ".\ADSP-BF534-UART.c".
cc3089: fatal error: Compilation failed
Tool failed with exit/exception code: 1.
Build was unsuccessful.
I am using Visual DSP++ 5.0 (Product Version: 126.96.36.199 and IDDE Version: 188.8.131.52). Its license is an Evaluation license, Demo - Full, expiring in a couple of days. Is this the reason why I'm missing some libraries and licenses and therefore can't build the project?
Also, i have checked the UART-specific Device Driver documentation at "...\Blackfin\docs\drivers\uart\", but it doesn't state whether to configure it for UART0 or UART1. Does this only work for one of the two (UART0 perhaps)?
So that we can investigate further would you be able to contact private support with a copy of your ProductInfo.html file, which is available from the Help file menu within VisualDPS++. I'm asking that you contact private support as the ProductInfo file contains your license infomation, which you should not post on this public forum.
Please also include a copy of your license.dat file, which is available from the system folder of your VisualDSP++ installation i.e.
[install drive]:\Program Files\Analog Devices\VisualDSP\System\
Lastly, please also include a copy of your project with steps to help us reproduce the problem here.
Be sure to include a link to this thread when you contact private support.
Ok thank you! I have sent an email to email@example.com. I have recently noticed that I don't have a license.dat file. Maybe this is the reason for my problem
However when checking my license, it has a status of Demo - Full expiring in a specific number of days...
Thanks for sending this to private support, which is now being handled under PR70932. We will post the outcome of the PR here, if appropriate.