Interestingly where I try the simplified code suggested in your first reply, the second tile seems to hang waiting, at least when running with debug_printf() enabled:
Code: Select all
#784667
b100 0 // T1_Send (NB used different value to example below)
#784687
b0 0 // T0_Send
#2428351
b0 0 // T0_Send
#2428371
b0 0 // T0_Send
#2428374
b0 0 // T0_Send
#2428388
b0 0 // T0_Send
When running under xgdb I saw T1 hanging in some cases but not always.
With the original code, with debug_printf() enabled:
Code: Select all
#784686
b100 0 // T1_Wait
#2428369
b0 0 // T0_Send
#2428388
b1 0 // T0_Wait
#2428392
b101 0 // T1_Send
#2428409
b110 0 // T1_Complete
#2428414
b10 0 // T0_Complete
Haven't looked into this further yet.
Edit: fixed some typos in second example.