C UART Library?

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!

Parents
  • Hi,

    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\".

    Regards,

    Craig.

Reply
  • Hi,

    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\".

    Regards,

    Craig.

Children
No Data