Wednesday, July 25, 2018

Undefined reference to _write

Sprintf usage in Xilinx GNUM

GNU Arm Embedded Toolchainとシステムコールの実装について

https://qiita.com/takahashim/items/120d69a44a80d08b70e7


Libnosys implementation
https://github.com/eblot/newlib/tree/master/libgloss/libnosys

Monday, July 2, 2018

PPP mdm_init takes a lot of time and thus ping does not respond for long

The disconnection may be improper (for example, without proper close, the debugger is restarted) due to which the modem is in improper state and the mdm_init does not get fast initialization sequence. When the modem is powered off and on or once the connection is established after long time and properly closed, it will connect very fast from next time.

Wednesday, June 13, 2018

Problems compilation

CEV-RZA1L
In IPv6 Thumb mode program, the ftp takes so much time (around 17seconds) after displaying Opening data connection. There was no issues withing a second, it happened in ARM mode.

Do not know. It automatically disappeared while investigating. May be some memory window was opening. That effect??


Monday, June 11, 2018

ARM compiler: VFP compilation

>armasm --cpu list

 --cpu=Cortex-A15
 --cpu=Cortex-A15.no_neon
 --cpu=Cortex-A15.no_neon.no_vfp

>armasm --fpu list

 --fpu=VFPv3
 --fpu=VFPv3_FP16
 --fpu=VFPv3_D16
 --fpu=VFPv3_D16_FP16
 --fpu=VFPv2
 --fpu=VFPv4
 --fpu=VFPv4_D16
 --fpu=FPv4-SP
 --fpu=FPv5_D16
 --fpu=FPv5-SP
 --fpu=SoftVFP
 --fpu=SoftVFP+VFPv2
 --fpu=SoftVFP+VFPv3
 --fpu=SoftVFP+VFPv3_FP16
 --fpu=SoftVFP+VFPv3_D16
 --fpu=SoftVFP+VFPv3_D16_FP16
 --fpu=SoftVFP+VFPv4
 --fpu=SoftVFP+VFPv4_D16
 --fpu=SoftVFP+FPv4-SP
 --fpu=SoftVFP+FPv5_D16
 --fpu=SoftVFP+FPv5-SP
 --fpu=None


In ARM compiler, there is no independent flags to specify the D16/D32 and VFPv3/VFPv4 to make the combinations. Instead, the combinations are clubbed together internally. So, there is no other way than just considering __TARGET_FPU_VFPV4/__TARGET_FPU_VFPV3 as "VFP with D32", unlike IAR EWARM. And, NEON does not come into picture in deciding the context in Kernel or SIMD is used in Kernel library.