I wrote a driver for the led-output, and redirected the stdout and stderr on it. problem is that the sending is with errors. (changed characters and so).
Here is a log of messages from loading until the menu apears (where the errors begin) and then I press "jump" couple of times. Read on 😀
Begin
Begin
Begin
Begin
?oFDromStart
usrInit
usrKernelInit
class
task
qInit1
qInit2
qInit3
workqinit
sysmemtop
usrRoot
blDrv()
DrvInstall...
malloc...
DevAdd...
blDrv Installed
AppInit
Startup - start
Starting test
/blink/0 tes/blink/0 test - 2/2
Redirecting stdout and stderr
Redirection succesfull
test exit
InitializeIntercom
[TFT-OLC] Notify Change.
-- ----------------
--- Change OLC ---
------------------
String :
Mode : 0
Tv :
Av : F00
ISO : AUTO
WBMode : 0
MesMode: 0
AFMode : 0
Drive : 0
AFPoint: 0
format : 0
size : 0
quality: 0
Battery: 0
x-x--v-----c--
/ t Ilrto; zi*x-----r----b---c--
Mea?e anO4cDIALxiweei 1
Byc x 5D9 --- --r-h--u---c-MCngWRvvWtetnuctn
x 6: 3046 [D-GI]ReuetR=0x0
x 7: n0460 [DP-UInDigipCaabiit=00
x8:m 30460 [-UInCL PM_Enilog FmF1 30&70[D-GUI] Free PinerPoprt
1: n 3k47;[MC],T:0007nS:00, 9T 1z n 3470[M] GUInChage| :
F 3: 347 [AIN] EnabteStDwnz m14: n38970 [CM]InitilizComContrl
17😖 979 [TOM]ROMegisteqLsTrnserBR{ 18: 3970 [RTOM]TO_RBiRequeetransfeCBR
x J9: 380 [ATr]nitilizFATrasmissinLineecker n 20: 3900VB:0
n 2J: k 3910aRM]T_egistNotiyCnnetDT
22: c 3910[GI] DTDIxO?Eh
m 36: 39920 [F]AccessTimngh I 250n
m 4: a4020[M] T:008S:000, 0
1: 4420 [MAI] DivStte0
&9:F 40450 [F]FP_etFilSize :nFI{GetFieSizerr (A/MSiUTPRINTMRK
0: 4051{[AIN] RmanCuser : 5799W 1: c 4510[SM]evnt:22,n0000:000, 04 52q
400 SBn: -----FF, , 5: 40510[STM]event:10,00:0000 0 54[ x4010 SB: -----FF
, d 51 x 40510[STM]evnt:12,,000000, 0zF 56 x4010 SBa m-----FF,
5 4010[SM]mevet:12,x0q00:000, 0) 58[ m4050 iSB: -----FF, 59 n4010[MA :
000,S:001_ J
40:mn 451 [C]:001 S0001,12
c614 4050 MAIN]xileCountvr 0(0)
x{ 62: 40510 [AI] BurCntr p0_ 63[ x40510 MAN]nFull CF
, 6: 4520 [MAIN] TFTk.Ccn 65p 40520 ZAIN]nFULL C WRNINGT 66: x 40520aMIg (
gi_nicomp)
a 7: 40520 [AI] aIntializ Cmpltep
n 68:a 4052 [C];T:012, S:100,x13, 69h m4050 MCg T0002, l:100 14
70: 4020 sw:060000)
F 1: 4052 [TM e*n: 1 0:000,
F 72: n 4020[M] T:004 S:100, 5
z3: 52 act:0129
4:a 40530 [C]T:000, S:1000,16b 7[ m0530 g crl008
x{ 76: 453 [MAIN] FLLCFWARNING.
80 4050 C{T0006, :10017W mn85: 4040 [M] T006,mS:000 1
86: ;m4k54 [M] T:012, S1000, 19
m 7:a 4054 [UI PstQR 0000000
k88t 40540 MCLT:000, :100) 20
8 40540 ctrl?080
x6: 4j55 [C],T:007 S[010,21
m97 4050 MC G Chanhdm:7
c98F 4050 STM] een:L 0:00:00,0
n 12: 62 [DISPOW TrnOnmtat
x 4 0620 [UI] GetQ :00000000
a 08 4060 C T:01, :00022| 109 k400 [MAN] PLY BUSY EN.
116 4060 mMA] 8680002 < 8680340b 24p 4070 mP FP_GetFileSze FIO_eetFileiznE
r (:/IS/ATXERMR
.1n3😖{ 4087 [LCD] EablLcdCotrolle
m 1: 4k70[DSPOW Trn On omwe
19😖{ 489 [9]nT:0007 S010,23
a40: 4080 LCD EabeL+dBackLgh a4: m 4090[MN FaceSens/ fz1)
a42n 0890 MC GI hangedx2
43h 40890 mSTM ent:21, 0:0:00,,0
14c 90 [FM eent: 1W0000:00, 14: 4900[FCE Stp
ceensroReady stte= DLE[5T 15: 4530[MC] :0029, S:10, 4
1v0:{ 7610 [pC]nT:000 S:010,5
161h 7060 g4ctl:09T 162: x{70610[Sc]event:21,,0000:000, 0z, 163 50 [MC]
T002, S:040 26 x16 9590x sw:0162000)
165[ m9890 MC T0002, S:0040, 27 n6: 98890 sw:062x0000)
, 167t J01490 MC T:0002, S:040_ 28
16: 01490 sw:0162000)
69[ J4 0n[MC] T?0, S:040)F29
17 0490i sw:062&000)
171[ J7440 MC T00, :040 30
n x17 07z0 sw:0620000)
, 173[ J10740 MC T?0, S:040) 3 17z 110_40 w:062B0000)
175[ 3d90 [MC] T[0002,:0040 32
174: 1890 w:62(000)_, 177 J8390 [MC] T0k2, S:0040 33' 1n: 118390 w:160
00)z 179t J1690 MC T000, :040 34
c18 12190, sw:062000)
82[ 470 MC T002, :0040, 35
c18 24790 sw:062&0000)
And don't you dare say that the errors are too bad to read it! I tried many algoritms to make it better - it's the best I can get!
NEW: The problem is that the led-output is so slow that the output of the diffrent tasks merge (even with semaphores aplied). If I would have a function witch would give me some actual-task-identyfier - I would disect it. the second option is to make a biiig buffor - I will test it tomorow.