General Category > Discussion - EVE

EVE Asset Builder

<< < (2/10) > >>

Rudolph:
I have a suggestion for a new tab in EAB.

What about adding a bin2c tool?
The output could be similar to the .rawh files that the image converter already generates.

But a few options would be sweet:
hex ouput
byte / word / long output
values per line configureable to upto four digits

Why? Conveniance.
I just converted two UTF-8 fonts, put them in a flash-image and compressed this flash-image.
Now I have to use some other tool to convert the .zlib file to a header file.

BRT Community:
Hi Rudolph,

Thanks for your suggestion,

Yes we agree, it would be a very useful and convenient feature,

Our development team will add this in for a future release of EAB.

Best Regards, BRT Community

Rudolph:
Hello,

I just stumbled over EAB v2.1.0 RC2: https://brtchip.com/eve-toolchains/#EVEAssetBuilder

-   Add new tool Bin2C to convert binary file to C array

Sweet. :-)

I have two minor issues with the converter.
The first is that it does not output leading zeros which make the array look asymetrical.
The second is that the array is generated without size.

uint8_t data [] = {
0x78, 0x9c, 0xed, 0x9d, 0xf, 0x7c, 0x14,

Yes, *minor* issues. :-)
This is pretty much exactly what I was looking for, good job. :-)


The "Custom Touch" module looks interesting.
The example given in the "Read Me" does not compile though, it is using i2c_read16() while
it needs to be i2c_read16le() or maybe i2c_read16be().

After a modification it compiles but the output is irritating:

touch.c compilation is in progress...
Microcode 'capcs.fs' uses 1100 bytes.
Loader command stream is 364 bytes
350 new bytes in firmware
EXCEPTION IN (custom_touch.py, LINE 52 ""): WindowsPath('D:/EAB_Test/touch.bin') and 'D:/EAB_Test\\touch.bin' are the same file

Compilation is done.

There is a touch.bin and a touch.load.h file in the output directory though.

When you do not use the same folder as output folder the result is just this:
touch.c compilation is in progress...
Microcode 'capcs.fs' uses 1100 bytes.
Loader command stream is 364 bytes
350 new bytes in firmware

Compilation is done.

And also only a touch.bin and a touch.load.h file in the output directory.

Rudolph:
I have a bigger issue to report that persists with EAB 1.2.0 RC2.

It still does switch on the backlight and it looks like to full when using the "Flash Programmer" part.

Please change this, it only works with rather small displays that are not drawing much current for the backlight.
We are on the verge of getting the first 10.1" in our hands and this behaviour of EAB already is bad with 7" modules.
The current reported for the USB by the adapter is 500mA but a larger display easily will exceed this.
And all the USB/SPI adapters I know are using LDOs, with the VA800A-SPI even setting a bad example by using a puny
one in a SOT23 package.

There is no need to display anything for flash programming, or testing the speed of the chip.
Yet it displays a black screen with backlight on which is the worst it could do since the panel itself
draws the most current with all pixels switched to black.

BRT Community:
Hello Rudolph,

Thank you for your valuable feedback, I will pass this onto the development team immediately.

Best Regards,
BRT Community

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version