Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some questions about "fonts.h" #913

Closed
PYL4869 opened this issue Feb 12, 2024 · 11 comments
Closed

Some questions about "fonts.h" #913

PYL4869 opened this issue Feb 12, 2024 · 11 comments
Assignees
Labels
bug Something isn't working build system This issue or pull request is related to the MSDK build system

Comments

@PYL4869
Copy link

PYL4869 commented Feb 12, 2024

Hi,

I plan to design a development board by myself using "MAX78000". I noticed that "OV5640" was added to "Examples\MAX78000\CameraIF", so I updated all today using "MaintenanceTool.exe", but there were some problems. For example, in "Examples\MAX78000\CameraIF" or "Examples\MAX78000\TFT_Demo", changing "board":"EvKit_V1" to "board":"FTHR_RevA" would cause this problem.
image

I noticed that "Libraries\MiscDrivers\Display" added "fonts". I'm not sure how this is causing the above problem, I tried to add a path but it didn't work. How do I fix this?
image

If I design "MAX78000" and use "OV5640", can I directly use "ov5640" related in "Libraries\MiscDrivers\Camera"? What should I pay attention to?

@spalani7
Copy link

spalani7 commented Feb 12, 2024

Try including Libraries/MiscDrivers/Display/fonts directory in <msdk>/Libraries/Boards/MAX78000/FTHR_RevA/board.mk - hopefully that should fix it.

@berrystephenw
Copy link

I spent some time on a very similar error - right out of the box the feather wouldn't compile even the "hello world" once I changed the board type.

@spalani7 suggested fix will probably work, but here is what I did:
I downloaded the latest MSDK from Git, and followed the instructions on cloning into a new directory and linking in the toolchain. I need to do that since I don't have a display and the latest code/makefiles allow you to turn that off. There are probably other fixes too that might be handy to have.

@Jake-Carter
Copy link
Contributor

As of #792 we replaced our TFT fonts with open source ones, and consolidated them to a single location.

The error above is happening because it looks like we pushed out an update to the MiscDrivers on Feb 1st (1.0.0-44) without also releasing the updated MAX78000 BSPs.

The key fix is to add this line to the bottom of your MAX78000FTHR board.mk file.

I will request we push a release of the updated MAX78000 BSPs as well to hot-fix this issue

@Jake-Carter Jake-Carter added bug Something isn't working build system This issue or pull request is related to the MSDK build system labels Feb 12, 2024
@Jake-Carter Jake-Carter self-assigned this Feb 12, 2024
@PYL4869
Copy link
Author

PYL4869 commented Feb 13, 2024

#792 开始,我们用开源字体替换了 TFT 字体,并将它们合并到一个位置。

发生上述错误是因为看起来我们在 2 月 1 日 (1.0.0-44) 推出了对 MiscDrivers 的更新,而没有发布更新的 MAX78000 BSP。

关键的解决方法是将行添加到MAX78000FTHR board.mk 文件的底部。

我将要求我们推送更新的 MAX78000 BSP 的版本,以热修复此问题

Hi
it is effective, but in "TFT Demo" this little error occurs.
image

In addition, if I design a custom boards using "MAX78000", can I also use "board":"FTHR_RevA"? Or should I refer to the "Custom BSP Template "section of the "MSDK User Guide"? Since I do not have "MAX78000EVKIT", I am not sure whether "OV5640" is used normally, For custom boards, can I directly use "ov5640" related in "Libraries\MiscDrivers\Camera"? What should I pay attention to?
image

@Jake-Carter
Copy link
Contributor

Hi @PYL4869, if you are going to use the TFT demos I would recommend following the instructions for Developing from the Repo. There are some others updates that have been made to the demos to use the new fonts.

Or you can start with this project. We expect to have a release ready at the end of this week.
MAX78000_TFT_Demo_Feb_2024_Pre-release.zip

Yes, for a custom board design, I would recommend following Custom BSPs. The implementation will depend on the design of your board. Have you completed the hardware design yet?

In general, drivers are only added for hardware that is actually used. Copying elements of the BSPs for our FTHR/EVKIT is not necessary unless you have copied elements of the hardware design.

@PYL4869
Copy link
Author

PYL4869 commented Feb 14, 2024

Hi @PYL4869, if you are going to use the TFT demos I would recommend following the instructions for Developing from the Repo. There are some others updates that have been made to the demos to use the new fonts.

Or you can start with this project. We expect to have a release ready at the end of this week. MAX78000_TFT_Demo_Feb_2024_Pre-release.zip

Yes, for a custom board design, I would recommend following Custom BSPs. The implementation will depend on the design of your board. Have you completed the hardware design yet?

In general, drivers are only added for hardware that is actually used. Copying elements of the BSPs for our FTHR/EVKIT is not necessary unless you have copied elements of the hardware design.

Hi
Thank you for your return on these issues.The hardware design is not yet complete. I'm also looking at the reference hardware designs "MAX78000FTHR" and "MAX78000EVKIT" and "MAXREFDES178". It seems trickier and more difficult than the "ST" or "Renesas" I'm familiar with. I may need more time to solve the hardware design of "MAX78000".

@PYL4869 PYL4869 closed this as completed Feb 16, 2024
@tyVandeZande
Copy link

Hey @Jake-Carter, The Custom BSP link gives me a 404 error. Will you please ensure it's public?
FYI I'm working with the MAX32690 EVKit

Thank you!

@Jake-Carter
Copy link
Contributor

Hi @tyVandeZande the new UG URL is https://analogdevicesinc.github.io/msdk//USERGUIDE/

Custom BSPs: https://analogdevicesinc.github.io/msdk/USERGUIDE/#custom-bsps

See #923. Unfortunately we've had to migrate our repo to the central ADI org and our old Github Pages domain is now broken...

@tyVandeZande
Copy link

@Jake-Carter Thank you— I see that now!

@Jake-Carter
Copy link
Contributor

No problem, sorry for the trouble

@PYL4869
Copy link
Author

PYL4869 commented Apr 4, 2024

@Jake-Carter
Hi, for a custom board design, I had some problems with my DAPLINK drive, you can refer to this link, about this question, I may not be able to use "erase.act"allowing the device to be programmed again, Is there any way to unlock the non-programmable MAX78000?

@PYL4869 PYL4869 reopened this Apr 8, 2024
@PYL4869 PYL4869 closed this as completed Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build system This issue or pull request is related to the MSDK build system
Projects
None yet
Development

No branches or pull requests

5 participants